Ejemplo n.º 1
0
        public BezierCurveShape UpdateCurveBegin(Point begin)
        {
            BezierCurveShape b = new BezierCurveShape(begin, bezierCurve.control1, bezierCurve.control2, bezierCurve.end);

            this.bezierCurve.Stroke = Brushes.Black;
            this.bezierCurve.StrokeDashArray.Add(6);
            this.bezierCurve.StrokeThickness = 1;
            bezierCurve = b;
            return(b);
        }
Ejemplo n.º 2
0
        public BezierCurveShape UpdateCurveEnd(Point end)
        {
            BezierCurveShape b = new BezierCurveShape(bezierCurve.start, bezierCurve.control1, bezierCurve.control2, end);

            this.bezierCurve.Stroke = Brushes.Black;
            this.bezierCurve.StrokeDashArray.Add(6);
            this.bezierCurve.StrokeThickness = 1;
            bezierCurve = b;
            return(b);
        }