[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.PathBuilder.ToPath

ToPath Method

ToPath(FillMode)

Creates a GraphicsPath from the current set of figures.

Declaration
public GraphicsPath ToPath(FillMode fillMode = FillMode.Alternate)
Public Function ToPath(Optional fillMode As FillMode = FillMode.Alternate) As GraphicsPath
Parameters
Type Name Description
FillMode fillMode

Specifies how the interior of closed figures is filled.

Returns
Type Description
GraphicsPath

ToPath(FillMode, Matrix3x2)

Creates a GraphicsPath from the current set of figures.

Declaration
public GraphicsPath ToPath(FillMode fillMode, Matrix3x2 worldTransform)
Public Function ToPath(fillMode As FillMode, worldTransform As Matrix3x2) As GraphicsPath
Parameters
Type Name Description
FillMode fillMode

Specifies how the interior of closed figures is filled.

Matrix3x2 worldTransform

The transformation to apply to path figures.

Returns
Type Description
GraphicsPath