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(); }
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(); }
public PathGlyph(GlyphConfig config) { Config = config; Figure = new UnclosedPathFigure(); }