Skip to main content

PathGeometryContext Class

Definition

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

public class PathGeometryContext : IGeometryContext, 
IDisposable
View Source
InheritanceObject → PathGeometryContext
ImplementsIGeometryContext, IDisposable

Constructors

PathGeometryContext(PathGeometry)Initializes a new instance of the PathGeometryContext class

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()Releases all resources used by the PathGeometryContext
EndFigure(Boolean)Ends the figure started by BeginFigure(Point, Boolean).
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
LineTo(Point)Draws a line to the specified point.
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
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.
ToString()Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Avalonia.Visuals.Platform Namespace