Pen Properties

The Pen type exposes the following members.

Properties

Name Description
Public property Alignment

Gets or sets the alignment for this Pen.

Public property Color

Gets or sets the color of this Pen.

Public property DashStyle

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

Public property EndCap

Gets or sets the cap style used at the end of lines drawn with this Pen.

Public property LineJoin

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

Public property MiterLimit

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

Public property StartCap

Gets or sets the cap style used at the beginning of lines drawn with this Pen.

Public property Width

Gets or sets the width of this Pen.

See Also

Reference