• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class FillPathCommand

Fills the interior of a graphics path with the specified brush.

Inheritance
object
DrawingCommand
FillPathCommand
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
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.

Overrides
DrawingCommand.Clone()
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX