Variable: modebarIcons
ts
const modebarIcons: object;The built-in modebar glyphs, reusable as icon of custom buttons.
Type Declaration
| Name | Type | Description |
|---|---|---|
camera | ModebarIcon | Camera: download image. |
dot | ModebarIcon | Filled dot: the fallback for custom buttons without an icon. |
drawCircle | ModebarIcon | Ring: draw circle. |
drawClosedPath | ModebarIcon | Irregular ring: draw closed freeform. |
drawLine | ModebarIcon | Segment with end handles: draw line. |
drawOpenPath | ModebarIcon | Zigzag stroke: draw open freeform. |
drawRect | ModebarIcon | Rectangle outline: draw rectangle. |
eraseShape | ModebarIcon | Eraser over a baseline: erase the active shape. |
expand | ModebarIcon | Diagonal outward arrows: autoscale. |
home | ModebarIcon | House: reset axes. |
lasso | ModebarIcon | Loop with a tail: lasso select. |
magnifier | ModebarIcon | Magnifier: box zoom. |
move | ModebarIcon | Four-way arrows: pan. |
selectBox | ModebarIcon | Dashed rectangle: box select. |
spikelines | ModebarIcon | Point with dashed guides: spike lines. |
tooltip | ModebarIcon | One label: closest-point hover. |
tooltips | ModebarIcon | Two labels: compare-data hover. |
zoomIn | ModebarIcon | Framed plus: zoom in. |
zoomOut | ModebarIcon | Framed minus: zoom out. |