Methods
GetLineJoin
#Gets the style of line join for the pen
Parameters:
| widget (Pen) | Pen to get the line join style |
GetMiterLimit
#Gets the miter limit for the pen
Remarks: The miter limit specifies the maximum allowed ratio of miter lenth to stroke length in which a miter will be converted to a bevel. The default miter limit is 10.
Parameters:
| widget (Pen) | Pen to get the miter limit |
GetThickness
#Gets or sets the thickness (width) of the pen
Parameters:
| widget (Pen) | Pen to get the thickness |
SetLineCap
#Sets the line cap style
Parameters:
| widget (Pen) | Pen to set the line cap |
| lineCap (PenLineCap) | Line cap to set |
SetLineJoin
#Sets the style of line join for the pen
Parameters:
| widget (Pen) | Pen to set the line join style |
| lineJoin (PenLineJoin) | Line join to set |
SetMiterLimit
#Sets the miter limit of the pen
Remarks: The miter limit specifies the maximum allowed ratio of miter lenth to stroke length in which a miter will be converted to a bevel. The default miter limit is 10.