Click or drag to resize

Pen Properties

The Pen type exposes the following members.

Properties
 NameDescription
Public propertyAlignment Gets or sets the alignment for this Pen.
Public propertyARGBColor Gets or sets the ARGB color of this Pen.
Public propertyColor Gets or sets the Color of this Pen.
Public propertyCompoundArray Gets or sets an array of values that specifies a compound pen.
Public propertyCustomEndCap Gets or sets a custom cap to use at the end of lines drawn with this Pen.
Public propertyCustomStartCap Gets or sets a custom cap to use at the beginning of lines drawn with this Pen.
Public propertyDashCap Gets or sets the cap style used at the end of the dashes that make up dashed lines drawn with this Pen.
Public propertyDashOffset Gets or sets the distance from the start of a line to the beginning of a dash pattern.
Public propertyDashPattern Gets or sets an array of custom dashes and spaces.
Public propertyDashStyle Gets or sets the style used for dashed lines drawn with this Pen.
Public propertyEndCap Gets or sets the cap style used at the end of lines drawn with this Pen.
Public propertyHTMLColor Gets or sets the html color of this Pen.
Public propertyLineJoin Gets or sets the join style for the ends of two consecutive lines drawn with this Pen.
Public propertyMiterLimit Gets or sets the limit of the thickness of the join on a mitered corner.
Public propertyPenType Gets the style of lines drawn with this Pen.
Public propertyStartCap Gets or sets the cap style used at the beginning of lines drawn with this Pen.
Public propertyTransform Gets or sets a copy of the geometric transformation for this Pen.
Public propertyWidth Gets or sets the width of this Pen, in units of the Graphics object used for drawing.
Top
See Also