Pen Properties

The Pen type exposes the following members.

Properties

Name Description
Public property Brush
Public property Color

Gets or sets the color of this Pen.

Public property DashOffset

Gets or sets the dash offset of this Pen.

Public property DashPattern

Gets or sets the dash pattern of this Pen.

Public property LineCap

Gets or sets the cap style with which this Pen object can end a line.

Public property LineJoin

Gets or sets the type of a corner when two lines meet.

Public property MiterLimit

Gets or sets the value that defines how sharp should be a line join.

Public property Width

Gets or sets the width of this Pen.

See Also

Reference