IGeometryContext Interface

Describes a geometry using drawing commands.

Definition

Namespace: Avalonia.Platform
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public interface IGeometryContext : IDisposable
Implements
IDisposable

Methods

ArcTo(Point, Size, Double, Boolean, SweepDirection) Draws an arc to the specified point.
BeginFigure(Point, Boolean) Begins a new figure.
CubicBezierTo(Point, Point, Point) Draws a Bezier curve to the specified point.
DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
EndFigure(Boolean) Ends the figure started by BeginFigure(Point, Boolean).
LineTo(Point) Draws a line to the specified point.
QuadraticBezierTo(Point, Point) Draws a quadratic Bezier curve to the specified point
SetFillRule(FillRule) Sets path's winding rule (default is EvenOdd). You should call this method before any calls to BeginFigure.

See Also