private Pen GetDiagnosticsPen(DiagColor color) { if (color == DiagColor.Yellow) { return(_diagnosticsYellowPen); } return(_diagnosticsRedPen); }
private Brush GetDiagnosticsBrush(DiagColor color) { if (color == DiagColor.Yellow) { return(_diagnosticsYellowBrush); } return(_diagnosticsRedBrush); }
public DiagnosticGeometry(DiagGeometryType type, DiagColor color, params Point[] vertices) { Type = type; Color = color; Vertices = vertices; }