Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 /// <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;
 }
Ejemplo n.º 3
0
 public override void OnElementChange(ImageViewElement element)
 {
     throw new NotImplementedException();
 }
Ejemplo n.º 4
0
 public TractionPoint(ImageViewElement parent)
 {
     this.Parent = parent;
     this.Size   = 8;
 }