[]
        
(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)
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)
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