IPath Interface

IPath interface

Represents a path for defining shapes or outlines.

public interface IPath

Properties

NameDescription
FillMode { get; set; }Gets or sets the fill rule for the path. See FillRule.
IsEmpty { get; }Gets a value indicating whether the path is empty.
NativeObject { get; }Gets the native representation of the path object.

Methods

NameDescription
AddPath(IPath, IMatrix)Adds the specified path to the current path, applying the given transformation.
Arc(float, float, float, float, float)Adds a circular arc to the path.
Arc(float, float, float, float, float, bool)Adds a circular arc to the path.
ArcTo(float, float, float, float, float)Adds an arc segment to the path.
BezierCurveTo(float, float, float, float, float, float)Adds a cubic Bézier curve segment to the path.
Clear()Clears the contents of the path.
Close()Closes the current subpath by connecting the current point to the starting point.
Ellipse(float, float, float, float, float, float, float)Adds an elliptical arc to the path.
Ellipse(float, float, float, float, float, float, float, bool)Adds an elliptical arc to the path.
LineTo(float, float)Adds a straight line segment from the current point to the specified coordinates.
MoveTo(float, float)Moves the current point to the specified coordinates.
QuadraticCurveTo(float, float, float, float)Adds a quadratic Bézier curve segment to the path.
Rect(float, float, float, float)Adds a rectangle to the path.
Transform(IMatrix)Applies the specified transformation to the path.

See Also