BlockSuite API Documentation / @blocksuite/blocks / ShapeProps
Type Alias: ShapeProps
ShapeProps:
BaseElementProps&object&Partial<TextStyleProps>
Type declaration
fillColor
fillColor:
Color
filled
filled:
boolean
maxWidth?
optionalmaxWidth:false|number
radius
radius:
number
roughness?
optionalroughness:number
shapeStyle
shapeStyle:
ShapeStyle
shapeType
shapeType:
ShapeType
strokeColor
strokeColor:
Color
strokeStyle
strokeStyle:
StrokeStyle
strokeWidth
strokeWidth:
number
text?
optionaltext:Y.Text
textHorizontalAlign?
optionaltextHorizontalAlign:TextAlign
textResizing?
optionaltextResizing:TextResizing
textVerticalAlign?
optionaltextVerticalAlign:TextVerticalAlign
Defined in
packages/affine/model/dist/elements/shape/shape.d.ts:6