Class FillPathCommand
Fills the interior of a graphics path with the specified brush.
Inherited Members
Namespace: DRIT.Drawing.Vector.Commands
Assembly: DRIT.Drawing.dll
Syntax
public sealed class FillPathCommand : DrawingCommand
Constructors
FillPathCommand(Brush, GraphicsPath, FillMode)
Initializes a new FillPathCommand, cloning the brush and path.
Declaration
public FillPathCommand(Brush brush, GraphicsPath path, FillMode fillMode)
Parameters
| Type | Name | Description |
|---|---|---|
| Brush | brush | The brush to fill with. |
| GraphicsPath | path | The path to fill. |
| FillMode | fillMode | The fill mode. |
Properties
Brush
Gets the brush used to fill the path.
Declaration
public Brush Brush { get; }
Property Value
| Type | Description |
|---|---|
| Brush |
FillMode
Gets the fill mode.
Declaration
public FillMode FillMode { get; }
Property Value
| Type | Description |
|---|---|
| FillMode |
Path
Gets the path to fill.
Declaration
public GraphicsPath Path { get; }
Property Value
| Type | Description |
|---|---|
| GraphicsPath |
Methods
Clone()
Creates a deep copy of this command.
Declaration
public override DrawingCommand Clone()
Returns
| Type | Description |
|---|---|
| DrawingCommand | A new DrawingCommand with the same state. |