MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / PerformanceChart

Method PerformanceChart

PerformanceMonitor/PerformanceChart.cs:35–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33 private Pen[] _PerformancePen = new Pen[6]; // 绘制画笔
34
35 public PerformanceChart()
36 {
37 InitializeComponent();
38
39 _PerformancePen[0] = new Pen(Color.LightSkyBlue, DefaultPenSize);
40 _PerformancePen[1] = new Pen(Color.BlueViolet, DefaultPenSize);
41 _PerformancePen[2] = new Pen(Color.ForestGreen, DefaultPenSize);
42 _PerformancePen[3] = new Pen(Color.Maroon, DefaultPenSize);
43 _PerformancePen[4] = new Pen(Color.LightSalmon, DefaultPenSize);
44 _PerformancePen[5] = new Pen(Color.Peru, DefaultPenSize);
45
46 Reset();
47 }
48
49 /// <summary>
50 /// 清空性能分析器

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected