[]
Defines an object used to draw lines and curves.
public sealed class Pen : IEquatable<Pen>
Public NotInheritable Class Pen
Implements IEquatable(Of Pen)
Name | Description |
---|---|
Pen(SchemeColor, double) | Initializes a new instance of the Pen class with the specified color and width. |
Pen(Brush, double) | Initializes a new instance of the Pen class with the specified brush and width. |
Name | Description |
---|---|
Alignment | Gets the alignment for this Pen. |
Brush | |
DashPattern | Gets an array of custom dashes and spaces. |
DashStyle | Gets the style used for dashed lines drawn with this Pen. |
LineCap | Gets the line cap style used at the end of lines drawn with this Pen. |
LineEndHead | Gets a custom cap to use at the beginning of lines drawn with this Pen. |
LineEndTail | Gets a custom cap to use at the end of lines drawn with this Pen. |
LineJoin | Gets the join style for the ends of two consecutive lines drawn with this Pen. |
MiterLimit | Gets the limit of the thickness of the join on a mitered corner. |
Style | Gets a LineStyle value that specifies a compound pen. A compound pen draws a compound line made up of parallel lines and spaces. |
Visible | Returns or sets an Boolean value that determines whether the object is visible. Read/write. |
Width | Gets or sets the width of this Pen in pixels. |
Name | Description |
---|---|
Equals(Pen) | |
IsSet(Attributes) | Gets a value indicating whether the specified attribute(s) is set. |