Beispiel #1
0
        public void Move(Point point)
        {
            Center = point;

            _LabelBinding = new LabelBinding(this);

            _PathBinding = _BindingCreator.Create(GeometryCreator.Create(this));
        }
Beispiel #2
0
        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));
        }
Beispiel #3
0
        public void Update()
        {
            _LabelBinding = new LabelBinding(this);

            _PathBinding = _BindingCreator.Create(GeometryCreator.Create(this));
        }