Polyline
TwPolyline · Category: Svg
Settings
These settings are in the properties panel on the right while the widget is selected. The default value is the value the widget has when it is first added to a page.
| Setting | Type | Default | Description |
|---|---|---|---|
Fill ColorfillColor | Color | — | Fill color of the shape. |
Fill OpacityfillOpacity | Number | 100 | Fill transparency. 0 is fully transparent, 1 is fully opaque. |
Use SplineuseSpline | Checkbox | Off | Draws a smooth curve through the points instead of straight segments. |
Line StylelineStyle | Selection | normal | Pipe draws the line as a pipe with a darker outer edge and a lighter core; Normal draws a single stroke. Options: normal Normal, pipe Pipe |
Stroke Line JoinstrokeLineJoin | Selection | round | Shape of the corners where two segments meet, for example miter, round or bevel. Options: arcs, bevel, miter, miter-clip, round |
Stroke Line CapstrokeLineCap | Selection | round | Shape of open line ends: butt, round or square. Options: butt, round, square |
Stroke ColorstrokeColor | Color | #333333 | Outline color of the shape. |
Hover ColorhoverColor | Color | — | Color used when pointer hovers over the shape. |
Stroke WidthstrokeWidth | Number | 1 | Outline thickness in pixels. |
Stroke Dash ArraystrokeDashArray | Text | — | Dash pattern for outline, for example: 5,3 |
Enable FlashingenableFlashing | Checkbox | Off | Makes the widget blink (an opacity pulse every second). Usually bound to an alarm condition. |
Log ButtonlogButton | Checkbox | Off | At runtime shows a chart icon when hovering the widget; clicking it adds the Tags bound to the widget to the log Tag list. |
Stroke opacitystrokeOpacity | Number | 100 | Outline transparency. 0 is fully transparent, 1 is fully opaque. |
Bindings
In the Bindings (Rules) section of the properties panel, a Tag can be bound to the following properties of this widget with a Direct binding. The binding types (Direct, IntRange, FloatRange, Boolean, Bit) are the same for all widgets; they are described on the Widget Reference page.
title, visible, authorization, x, y, width, height, rotation, class, foregroundColor, backgroundColor, borderColor, borderStyle, borderWidth, borderRadius, borderTopLeftRadius, borderTopRightRadius, enableFlashing, logButton, markerArrowColor, markerDotColor, markerSquareColor, markerStart, markerMid, markerEnd, markerSegment, fillColor, fillOpacity, strokeColor, strokeOpacity, strokeWidth, strokeDashArray, hoverColor, to.type, points, useSpline, lineStyle, strokeLineJoin, strokeLineCap
Common sections
While this widget is selected, the properties panel also shows these common sections: General, Layout, Appearance, Drawing, Navigation (To), Markers, Points, Bindings (Rules). These sections are described on the Page Editor page.