Search
Pen Members
Constructors Properties Methods
 


Represents an object used to draw lines and curves.

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

 Public Constructors

  Name Description

Pen

Overloaded. Initializes a new instance of the Pen class.

 Public Properties

  Name Description

Brush

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

Color

Gets or sets the color of this pen.

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.

LineJoin

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

MiterLimit

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

Unit

Gets or sets the unit of the pen width.

Width

Gets or sets the width of this pen.

 Public Methods

  Name Description

Clone

Creates an exact copy of this pen.

 See Also