Skip to main content

IGeometryContext Interface

Describes a geometry using drawing commands.

Definition

Namespace: Avalonia.Platform
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public interface IGeometryContext : IDisposable
View Source
ImplementsIDisposable

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.
Dispose()Performs 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

Reference

Avalonia.Platform Namespace