public void Move(Point point) { Center = point; _LabelBinding = new LabelBinding(this); _PathBinding = _BindingCreator.Create(GeometryCreator.Create(this)); }
public SubjectCanvas(SubjectView view, Point center, int width = 100, int height = 50) { View = view; Center = center; Width = width; Height = height; _BindingCreator.Type = PathType.Solid; _LabelBinding = new LabelBinding(this); _PathBinding = _BindingCreator.Create(GeometryCreator.Create(this)); }
public void Update() { _LabelBinding = new LabelBinding(this); _PathBinding = _BindingCreator.Create(GeometryCreator.Create(this)); }