public class Pen:
Stroke configuration that can be applied to a Painter.
pen = Pen(Color(31, 41, 55, 1.0), 2.0) pen.setDash([6.0, 3.0])
| Modifier and Type | Member | Description |
|---|---|---|
| public property | antialiasingantialiasing as Boolean |
Stroke antialiasing flag. |
| public property | capcap as String |
Line cap: `butt`, `round` or `square`. |
| public property | dashOffsetdashOffset as Double |
Dash offset. |
| public property | joinjoin as String |
Line join: `miter`, `round` or `bevel`. |
| public property | miterLimitmiterLimit as Double |
Miter limit. |
| public property | paintpaint as Object |
Stroke paint source. |
| public property | widthwidth as Double |
Stroke width. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | Pen | No summary. |