DXPen Members
Defines an object used to draw lines and curves.Constructors
Name | Description |
---|---|
DXPen(DXBrush, Single) | Initializes a new instance of the DXPen class with specified settings. |
DXPen(DXBrush) | Initializes a new instance of the DXPen class with specified settings. |
DXPen(Color, Single, DXLineCap) | Initializes a new instance of the DXPen class with specified settings. |
DXPen(Color, Single) | Initializes a new instance of the DXPen class with specified settings. |
DXPen(Color) | Initializes a new instance of the DXPen class with specified settings. |
Properties
Name | Description |
---|---|
Brush | Gets or sets the brush that determines the pen attributes. |
Color | Gets the pen color. |
CustomEndCap | Gets or sets a custom cap to use at the line end. |
CustomStartCap | Gets or sets a custom cap to use at the line start. |
DashCap | Gets or sets the cap style used at the dash end. |
DashOffset | Gets or sets the distance between the start of a line to the start of a dash pattern. |
DashPattern | Gets or sets an array of custom dashes and spaces. |
DashStyle | Gets or sets the style applied to dashed lines. |
EndCap | Gets or sets the cap style applied to the end of lines. |
LineJoin | Gets or sets the join style for the ends of two consecutive lines. |
MiterLimit | Gets or sets the limit of the thickness of the join on a mitered corner. |
PenType |
Obtains the type of lines the DXPen draws.
|
StartCap | Gets or sets the cap style applied to the line start. |
Width | Gets or sets the width of the pen. |
Methods
Name | Description |
---|---|
Clone() |
Clones the current DXPen object.
|
Dispose() |
Disposes of the DXPen instance.
|
Equals(DXPen) |
Determines whether the specified DXPen object is equal to the current DXPen instance.
|
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals(Object) |
Determines whether the specified object is equal to the current DXPen instance.
|
GetHashCode() |
Gets the hash code for the DXPen .
|
GetType() | Gets the Type of the current instance. Inherited from Object. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
ToString() | Returns a string that represents the current object. Inherited from Object. |
See Also