Exemplo n.º 1
0
 public RoiLineElement(PointF pt1, PointF pt2) : base(pt1, pt2)
 {
     ShowArrow            = true;
     DragHandleCollection = new DragHandleCollection();
     DragHandleCollection.AddCustomDragHandle(DragHandleAnchor.MiddleLeft);
     DragHandleCollection.AddCustomDragHandle(DragHandleAnchor.MiddleCenter);
     DragHandleCollection.AddCustomDragHandle(DragHandleAnchor.MiddleRight);
 }
Exemplo n.º 2
0
 public RoiRectElement(float x, float y, float w, float h, float angle = 0f) : base(x, y, w, h, angle)
 {
     DragHandleCollection = new DragHandleCollection();
     DragHandleCollection.AddDefaultDragHandle();
 }
Exemplo n.º 3
0
 public RoiRectElement(RectangleF rect, float angle = 0f) : base(rect, angle)
 {
     DragHandleCollection = new DragHandleCollection();
     DragHandleCollection.AddDefaultDragHandle();
 }
Exemplo n.º 4
0
 public RoiPointElement(PointF pt) : base(pt)
 {
     DragHandleCollection = new DragHandleCollection();
     DragHandleCollection.AddCustomDragHandle(DragHandleAnchor.MiddleCenter);
 }
Exemplo n.º 5
0
 public RoiImageElement(Bitmap image, RectangleF srcRect, RectangleF dstRect) : base(image, srcRect, dstRect)
 {
     DragHandleCollection = new DragHandleCollection();
     DragHandleCollection.AddDefaultDragHandle();
 }
Exemplo n.º 6
0
 public virtual DragHandle HitTest(Point point)
 {
     return(DragHandleCollection == null ? null : DragHandleCollection.HitTest(point));
 }
Exemplo n.º 7
0
 public RoiRingElement(PointF cpt, float sradius, float eradius) : base(cpt, sradius, eradius)
 {
     DragHandleCollection = new DragHandleCollection();
     DragHandleCollection.AddDefaultDragHandle();
 }