public override void OnElementChange(ImageViewElement element) { base.OnElementChange(element); System.Console.WriteLine("leftTop:" + leftTopPoint.X + " " + leftTopPoint.Y); System.Console.WriteLine("leftBottom:" + leftBottomPoint.X + " " + leftBottomPoint.Y); System.Console.WriteLine("rightTop:" + rightTopPoint.X + " " + rightTopPoint.Y); System.Console.WriteLine("rightBottom:" + rightBottomPoint.X + " " + rightBottomPoint.Y); }
/// <summary> /// 构造 /// </summary> /// <param name="x"></param> /// <param name="y"></param> /// <param name="parent"></param> public TractionPoint(double x, double y, ImageViewElement parent) : base() { this.Size = 8; this.X = x; this.Y = y; this.Parent = parent; this.Z = parent.Z + 0.01f; }
public override void OnElementChange(ImageViewElement element) { throw new NotImplementedException(); }
public TractionPoint(ImageViewElement parent) { this.Parent = parent; this.Size = 8; }