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.

Width

Gets or sets the width of this pen.

 Public Methods

  Name Description

Clone

Creates an exact copy of this pen.

 See Also