|
|
|
|
|
|
Property
|
|
Description
|
|
|
|
|
|
|
|
Brush
|
|
The brush with which this pen draws. |
|
|
|
|
|
|
|
Color
|
|
Gets or sets the color of this Pen This is only valid if the
brush type is SolidBrush or HatchBrush. If the Brush is of a
different type then the return type will always be black. |
|
|
|
|
|
|
|
CustomEndCap
|
|
Gets or sets a custom starting cap style. This cap will be used
to decorate the end of lines drawn using this Pen. Setting this
property to a value other than null will set the StartCap
to LineCap.Custom. |
|
|
|
|
|
|
|
CustomStartCap
|
|
Gets or sets a custom starting cap style. This cap will be used
to decorate the end of lines drawn using this Pen. Setting this
property to a value other than null will set the EndCap
to LineCap.Custom. |
|
|
|
|
|
|
|
DashCap
|
|
Gets or sets the dash cap style. |
|
|
|
|
|
|
|
DashOffset
|
|
Gets or sets the dash offset - the distance from the start of
the line to the start of the dash pattern. |
|
|
|
|
|
|
|
DashPattern
|
|
Gets or sets a custom dash pattern. |
|
|
|
|
|
|
|
DashStyle
|
|
Gets or sets the dash style. |
|
|
|
|
|
|
|
EndCap
|
|
Gets or sets the ending cap style. This cap will be used to
decorate the end of lines drawn using this Pen. Setting the cap
style to a value other than LineCap.Custom will set the CustomEndCap
property to null. |
|
|
|
|
|
|
|
LineJoin
|
|
Gets or sets the line join style.. |
|
|
|
|
|
|
|
MiterLimit
|
|
Gets or sets the miter limit which affects how thick joins are
on a mitered corner. The default value is 10. |
|
|
|
|
|
|
|
PenType
|
|
The type of pen. |
|
|
|
|
|
|
|
StartCap
|
|
Gets or sets the starting cap style. This cap will be used to
decorate the end of lines drawn using this Pen. Setting the cap
style to a value other than LineCap.Custom will set the
CustomStartCap property to null. |
|
|
|
|
|
|
|
Width
|
|
Gets or sets the width of this Pen. |
|
|
|
|
|
|