IGeometryContext Interface

Summary

Describes a geometry using drawing commands.
Namespace
Avalonia.Platform
Interfaces
  • IDisposable
Implementing Types
graph BT Type-.->Interface0["IDisposable"] Type["IGeometryContext"] class Type type-node Implementing0["StreamGeometryContext"]-.->Type click Implementing0 "/api/Avalonia.Media/StreamGeometryContext" Implementing1["IStreamGeometryContextImpl"]-.->Type click Implementing1 "/api/Avalonia.Platform/IStreamGeometryContextImpl" Implementing2["PathGeometryContext"]-.->Type click Implementing2 "/api/Avalonia.Visuals.Platform/PathGeometryContext"

Syntax

public interface IGeometryContext : IDisposable

Methods

Name Value Summary
ArcTo(Point, Size, double, bool, SweepDirection) void
Draws an arc to the specified point.
BeginFigure(Point, bool) void
Begins a new figure.
CubicBezierTo(Point, Point, Point) void
Draws a Bezier curve to the specified point.
EndFigure(bool) void
Ends the figure started by BeginFigure(Point, bool).
LineTo(Point) void
Draws a line to the specified point.
QuadraticBezierTo(Point, Point) void
Draws a quadratic Bezier curve to the specified point
SetFillRule(FillRule) void
Sets the fill rule.