Pen Properties

The Pen type exposes the following members.

Properties
  Name Description
Public property Color
Gets or sets the color of this Pen.
Public property DashCap
Gets or sets the cap style for dashes on a dashed line.
Public property Dashed
True if this pen has a dash pattern. If true then the DashPattern has a length greater than zero and a valid set of dash and space values.
Public property DashOffset
Gets or sets the distance from the start of a line to the beginning of a dash pattern.
Public property DashPattern
Gets or sets an array of custom dashes and spaces.
Public property LineEnd
Gets or sets the cap style used for 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 LineStart
Gets or sets the cap style used for lines drawn with this Pen.
Public property MiterLimit
Gets or sets the limit of the thickness of the join on a mitered corner. The default value is 10.0f.
Public property Width
Gets or sets the width of this Pen.
Top
See Also