Canvas::SetPen method¶
SetPen updates the canvas pen with the specific color, width, and style.
Overloads¶
| SetPen(int, int, int) | SetPen updates the canvas pen with the specific color, width, and style. |
| SetPen(System.Drawing.Color, int, int) | SetPen updates the canvas pen with the specific color, width, and style. |
SetPen(int, int, int)¶
Prototype¶
void SetPen(int color, int width, int style)
void SetPen(int color, int width, int style) throws IGRException;
def SetPen(self, color: int, width: int, style: int) -> void
void SetPen(int color, int width, int style)
HRESULT SetPen([in] int color, [in] int width, [in] int style)
Parameters¶
color: int : The color expressed as a 32-bit integer.
width: int : The width of the pen, expressed in points.
style: int : The pen style used when drawing. See Pen Styles.
SetPen(System.Drawing.Color, int, int)¶
Prototype¶
void SetPen(System.Drawing.Color color, int width, int style)
Parameters¶
color: System.Drawing.Color : The color expressed as a System.Drawing.Color
width: int : The width of the pen, expressed in points.
style: int : The pen style used when drawing. See Pen Styles.