Search
Pen Members
Constructors Properties Methods
 


Pen objects are used to draw the outline of geometric shapes.

The following tables list the members exposed by the Pen type.

 Public Constructors

  Name Description

Pen

Overloaded. Initialize a new instance of the Pen class.

 Public Properties

  Name Description

Alignment

 

Brush

Gets or sets the Brush object that determines attributes of this pen.

Color

Gets or sets the color of this pen.

DashOffset

Gets or sets the distance from the start of a line to the beginning of a dash pattern.

DashPattern

Gets or sets an array of custom dashes and spaces.

DashStyle

Gets or sets the style used for dashed lines drawn with this pen.

EndCap

 

LineJoin

Gets or sets the join style for the ends of two consecutive lines drawn with this pen.

MiterLimit

Gets or sets the limit of the thickness of the join on a mitered corner.

StartCap

 

Transform

 

Unit

Gets or sets the unit of the pen width.

Width

Gets or sets the width of the pen.

 Public Methods

  Name Description

Clone

Creates an exact copy of this pen.

 See Also