charton API / @chart-on/ui / index / RailTool
Interface: RailTool
Defined in: ui/src/rail.ts:13
A drawing tool on the tool rail, by its registered type, with an optional label and icon over the tool's own.
Properties
icon?
optionalicon?:IconSource
Defined in: ui/src/rail.ts:16
label?
optionallabel?:string
Defined in: ui/src/rail.ts:15
tool
tool:
string
Defined in: ui/src/rail.ts:14