Beispiel #1
0
 public BrokenLine(EPKernel container, StrokableProperty pro)
     : base(container, pro)
 {
     _hotspots = new DraggableHotSpot[4];
     for (int i = 0; i < 4; i++)
     {
         _hotspots[i] = new DraggableHotSpot(HotSpotType.LineVertex);
     }
 }
Beispiel #2
0
        protected virtual void initialHotspotRects()
        {
            _hotspots = new DraggableHotSpot[HotspotCount];

            int i;

            for (i = 0; i <= _hotspots.Length - 2; i++)
            {
                _hotspots[i] = new DraggableHotSpot(HotSpotType.AnchorToScale);
            }
            // the last one is the rect used to rotate the shape
            //_hotspots[i] = new DraggableHotSpot(HotSpotType.RotatingRect);
        }