Skip to main content
All docs
V24.2

DXPen Constructors

Defines an object used to draw lines and curves.
Name Parameters Description
DXPen(DXBrush, Single) brush, width Initializes a new instance of the DXPen class with specified settings.
DXPen(DXBrush) brush Initializes a new instance of the DXPen class with specified settings.
DXPen(Color, Single, DXLineCap) color, thickness, lineCap Initializes a new instance of the DXPen class with specified settings.
DXPen(Color, Single) color, width Initializes a new instance of the DXPen class with specified settings.
DXPen(Color) color Initializes a new instance of the DXPen class with specified settings.
See Also