@fabwcie/free-drawing / constants / dataAttributes
Variable: dataAttributes
constdataAttributes:object
Defined in: packages/free-drawing/src/constants.ts:235
Attributes of option buttons of overlays holding the value they set: button of current value found by it
Type Declaration
edges
edges:
string='data-edges'
Corners of rectangles: sharp or round
fillColor
fillColor:
string='data-fill-color'
Background color
fontSize
fontSize:
string='data-font-size'
Font size of texts (px)
fontStyle
fontStyle:
string='data-font-style'
Font style of texts: bold or italic
order
order:
string='data-order'
Stacking order move of selected shapes (ShapeOrder)
strokeColor
strokeColor:
string='data-stroke-color'
Stroke color
strokeStyle
strokeStyle:
string='data-stroke-style'
Stroke style: solid, dashed or dotted
strokeWidth
strokeWidth:
string='data-stroke-width'
Stroke width (px)
textAlign
textAlign:
string='data-text-align'
Alignment of texts: left, center or right
textDecoration
textDecoration:
string='data-text-decoration'
Decoration of texts: underline or line-through