示例#1
0
        public UMLControlPoint(CanvasGroup group)
            : base(group)
        {
            if (_movable == true) { CPFillColor = DEFAULT_FILL_COLOR; }
            else { CPFillColor = DEFAULT_STATIC_FILL_COLOR; }

            OutlineColor = DEFAULT_OUTLINE_COLOR;
            WidthUnits = 1.0;
            CapStyle = Gdk.CapStyle.Round;
            CanvasEvent += CanvasEventCb;
            _container = null;
            Show ();
        }
示例#2
0
 // Creates the control points
 private void CreateUMLControlPointGroup()
 {
     if (_control_points == null)
     {
         _control_points = new UMLControlPointGroup (this, _is_resizable);
         _control_points.Resized += CPResized;
     }
     else
     {
         _control_points.Show ();
     }
     RaiseToTop ();
     RequestRedraw ();
 }
示例#3
0
 public UMLControlPoint(UMLControlPointGroup group)
     : this((CanvasGroup) group)
 {
     _container = group;
 }