Skip to main content
All docs
V24.1

DXPen Properties

Defines an object used to draw lines and curves.
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.
See Also