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 (); }
// 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 (); }
public UMLControlPoint(UMLControlPointGroup group) : this((CanvasGroup) group) { _container = group; }