ShapeComponentProps
Props for the ShapeComponent.
Properties
labelColor?
optionallabelColor:string
Color for the label. Defaults to #000000.
labelFillRatio?
optionallabelFillRatio:number
When using a multiline label, defines the maximum width of any given line.
labelProperty?
optionallabelProperty:string
Name of the property containing the object's label. Defaults to "label".
labelStrokeWidth?
optionallabelStrokeWidth:number
Stroke width for the label text.
multilineLabels?
optionalmultilineLabels:boolean
Defaults to true - the label will be drawn across multiple lines.
obj
obj:
ObjectData
Backing data for the vertex
showLabels?
optionalshowLabels:boolean
Whether or not to show labels Defaults to false.