public AnchorPoint(short x, short y, bool allowIncoming, bool allowOutgoing, MarkStyle markStyle, Color color) { this.x = x; this.y = y; this.allowIncoming = allowIncoming; this.allowOutgoing = allowOutgoing; this.markStyle = markStyle; this.color = color; this.col = -1; this.tag = 0; }
public AnchorPoint(short x, short y, bool allowIncoming, bool allowOutgoing, MarkStyle markStyle) { this.x = x; this.y = y; this.allowIncoming = allowIncoming; this.allowOutgoing = allowOutgoing; this.markStyle = markStyle; this.color = Color.Black; this.col = -1; this.tag = 0; }
public Mark WithStyle(MarkStyle markStyle) => new Mark(color: Color, markStyle: markStyle, thickness: Thickness);
public Mark(Color color, MarkStyle markStyle = MarkStyle.Cross, int thickness = 2) { Color = color; MarkStyle = markStyle; Thickness = thickness; }