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