Skip to content

charton API


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? ​

optional icon?: IconSource

Defined in: ui/src/rail.ts:16


label? ​

optional label?: string

Defined in: ui/src/rail.ts:15


tool ​

tool: string

Defined in: ui/src/rail.ts:14