Example #1
0
        public PolylineControlPointsProvider(PolylineVObject obj)
        {
            _obj          = obj;
            _obj.Changed += new System.EventHandler(VObjectChangedHandler);

            _controlPointPrototype = new EllipseControlPoint(new System.Drawing.Size(8, 8), new System.Drawing.SolidBrush(System.Drawing.Color.Tomato), new System.Drawing.Pen(System.Drawing.Color.WhiteSmoke));
            _controlPointCursor    = System.Windows.Forms.Cursors.Cross;

            _controlPointsEnabled = true;
            _supportedActions     = new VObjectActionCollection(new IVObjectAction[] { new PolylineVObject.MoveNodeAction(this) });

            RecreateControlPoints();
        }
Example #2
0
 public EllipseControlPoint(EllipseControlPoint obj)
     : base(obj)
 {
 }