This class is used to define the geometry of a StreamGeometry. An instance
of StreamGeometryContext is obtained by calling
Open.
Constructors
-
Stream
Geometry Initializes a new instance of the StreamGeometryContext class.Context(IStream Geometry Context Impl)
Methods
-
Arc
To(Point, Draws an arc to the specified point.Size, Double, Boolean, Sweep Direction) -
Begin
Figure(Point, Begins a new figure.Boolean) -
Cubic
Bezier Draws a Bezier curve to the specified point.To(Point, Point, Point) - Dispose() Finishes the drawing session.
-
End
Figure(Boolean) Ends the figure started by BeginFigure(Avalonia.Point, System.Boolean). -
Line
To(Point) Draws a line to the specified point. -
Quadratic
Bezier Draws a quadratic Bezier curve to the specified pointTo(Point, Point) -
Set
Fill Sets path's winding rule (default is EvenOdd). You should call this method before any calls to BeginFigure. If you wonder why, ask Direct2D guys about their design decisions.Rule(Fill Rule)