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

Class DrawPathCommand

Draws (strokes) a graphics path with the specified pen.

Inheritance
object
DrawingCommand
DrawPathCommand
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 DrawPathCommand : DrawingCommand

Constructors

DrawPathCommand(Pen, GraphicsPath)

Initializes a new DrawPathCommand, cloning the pen and path.

Declaration
public DrawPathCommand(Pen pen, GraphicsPath path)
Parameters
Type Name Description
Pen pen

The pen to stroke with.

GraphicsPath path

The path to draw.

Properties

Path

Gets the path to draw.

Declaration
public GraphicsPath Path { get; }
Property Value
Type Description
GraphicsPath

Pen

Gets the pen used to stroke the path.

Declaration
public Pen Pen { get; }
Property Value
Type Description
Pen

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