[]
        
(Showing Draft Content)

GrapeCity.Documents.Drawing.PathExt

Class PathExt

Namespace
GrapeCity.Documents.Drawing
Assembly
GcDocs.Imaging.dll

Contains extension methods for IPath interface.

public static class PathExt
Inheritance
object
PathExt
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Methods

AddLine(IPath, float, float)

Creates a line segment between the current point and the specified end point and adds it to the geometry sink.

public static void AddLine(this IPath path, float x, float y)

Parameters

path IPath

The IPath object.

x float

The x coordinate of the end point.

y float

The y coordinate of the end point.

BeginFigure(IPath, float, float)

Starts a new figure at the specified point.

public static void BeginFigure(this IPath path, float x, float y)

Parameters

path IPath

The IPath object.

x float

The x coordinate of the point at which to begin the new figure.

y float

The y coordinate of the point at which to begin the new figure.