Skip to main content
A newer version of this page is available. .
All docs
V22.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