@fabwcie/free-drawing / constants / shapeName
Variable: shapeName
constshapeName:object
Defined in: packages/free-drawing/src/constants.ts:109
Konva names of drawer nodes: type of drawing shapes (shape.hasName(shapeName.text)) and nodes of the interface
Type Declaration
arrow
arrow:
string='drawer-arrow'
Arrow, its ends can be linked to shapes
background
background:
string='drawer-background'
Background rectangle (background layer)
cloud
cloud:
string='drawer-cloud'
Cloud path
diamond
diamond:
string='drawer-diamond'
Diamond path
ellipse
ellipse:
string='drawer-ellipse'
Ellipse (circle tool)
frame
frame:
string='drawer-frame'
Frame holding shapes (see Frame)
gridLine
gridLine:
string='drawer-grid-line'
Shape drawing the grid (grid layer)
group
group:
string='drawer-group'
Group of shapes
guideLine
guideLine:
string='drawer-guide-line'
Snapping guide (selection layer)
heart
heart:
string='drawer-heart'
Heart path
highlighter
highlighter:
string='drawer-highlighter'
Freehand stroke of highlighter
line
line:
string='drawer-line'
Freehand stroke of brush
rect
rect:
string='drawer-rect'
Rectangle (square tool)
selection
selection:
string='drawer-selection'
Selection rectangle of selection tool (selection layer)
straightLine
straightLine:
string='drawer-straight-line'
Straight line of line tool
text
text:
string='drawer-text'
Text
triangle
triangle:
string='drawer-triangle'
Triangle path