⌂
›
Widgets
›
Line
Line
Line control. Build it with the line helper.
Example
line()
Properties
paint— Sets the paint property.x1— Sets the x1 property.x2— Sets the x2 property.y1— Sets the y1 property.y2— Sets the y2 property.
Common layout and animation properties
data— Arbitrary value you can attach to the control and read back in handlers.key— Stable identity used to preserve state across rebuilds.
Reference
- Family:
shared - Widget type:
line - Helpers:
line