[]
        
(Showing Draft Content)

GrapeCity.Documents.Drawing.GcGraphics.FillPath

FillPath Method

FillPath(IPath, Brush, RectangleF?, Matrix3x2?)

Fills a path using a specified brush.

Declaration
public void FillPath(IPath path, Brush brush, RectangleF? brushBounds = null, Matrix3x2? brushTransform = null)
Public Sub FillPath(path As IPath, brush As Brush, Optional brushBounds As RectangleF? = Nothing, Optional brushTransform As Matrix3x2? = Nothing)
Parameters
Type Name Description
IPath path

An object implementing the IPath interface that represents the path to fill.

Brush brush

The brush used to fill the path.

RectangleF? brushBounds

The optional bounds for a gradient brush.

Matrix3x2? brushTransform

The transformation applied to the brush.

FillPath(IPath, Color)

Fills a path using a specified color.

Declaration
public void FillPath(IPath path, Color color)
Public Sub FillPath(path As IPath, color As Color)
Parameters
Type Name Description
IPath path

An object implementing the IPath interface that represents the path to fill.

Color color

The color used to fill the path.