IGeometryContext Interface
Describes a geometry using drawing commands.
Definition
Namespace: Avalonia.Platform
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public interface IGeometryContext : IDisposable
Public Interface IGeometryContext
Inherits IDisposable
type IGeometryContext =
interface
interface IDisposable
end
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. |
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. |