Stroke Widget
The Stroke Widget displays a vector-based line that can have cap styles and dashing. A stroke widget is drawn using the Slug Library.
The widget color controls the color of the stroke.
Settings
The following settings are available specifically for Stroke Widgets.
Setting |
Description |
Stroke Settings |
|
Stroke thickness |
Specifies the thickness of the stroke, in pixels. |
Stroke caps |
Determines what style of caps are drawn for the stroke. This can be one of the following values:
|
Draw dashed stroke |
Determines whether the stroke is drawn with dashing. If dashing is enabled, then each dash has the cap style specified by Stroke caps. |
Dash length |
Specifies the length of each visible dash, in pixels. |
Gap length |
Specifies the length of the empty gap between dashes, in pixels. |
See Also
- Widgets
StrokeWidget
class