示例#1
0
		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;
		}
示例#2
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;
 }
示例#3
0
文件: Mark.cs 项目: seanofw/joy
 public Mark WithStyle(MarkStyle markStyle)
 => new Mark(color: Color, markStyle: markStyle, thickness: Thickness);
示例#4
0
文件: Mark.cs 项目: seanofw/joy
 public Mark(Color color, MarkStyle markStyle = MarkStyle.Cross, int thickness = 2)
 {
     Color     = color;
     MarkStyle = markStyle;
     Thickness = thickness;
 }