Beispiel #1
0
        public void StartCreatingIn(Point point)
        {
            Figure = new UnclosedPathFigure {
                Layout = ParentVectorRedactor.Layout
            };
            ParentVectorRedactor.Layout.AddFigure(Figure);
            (Figure as UnclosedPathFigure).AddPoint(point);
            (Figure as UnclosedPathFigure).AddPoint(point);
            (Figure as UnclosedPathFigure).UpdatePath();

            Invalidate();
        }
Beispiel #2
0
        public void StartCreatingIn(Point point)
        {
            Figure = new UnclosedPathFigure {Layout = ParentVectorRedactor.Layout};
            ParentVectorRedactor.Layout.AddFigure(Figure);
            (Figure as UnclosedPathFigure).AddPoint(point);
            (Figure as UnclosedPathFigure).AddPoint(point);
            (Figure as UnclosedPathFigure).UpdatePath();

            Invalidate();
        }
Beispiel #3
0
 public PathGlyph(GlyphConfig config)
 {
     Config = config;
     Figure = new UnclosedPathFigure();
 }
Beispiel #4
0
 public PathGlyph(GlyphConfig config)
 {
     Config = config;
     Figure = new UnclosedPathFigure();
 }