BlockSuite API Documentation / @blocksuite/affine-model / NodeStyle
Type Alias: NodeStyle
NodeStyle:
object
Type declaration
color
color:
string
fillColor
fillColor:
string
filled
filled:
boolean
fontFamily
fontFamily:
string
fontSize
fontSize:
number
fontWeight
fontWeight:
FontWeight
padding
padding: [
number
,number
]
radius
radius:
number
shadow?
optional
shadow:object
shadow.blur
shadow.blur:
number
shadow.color
shadow.color:
string
shadow.offsetX
shadow.offsetX:
number
shadow.offsetY
shadow.offsetY:
number
strokeColor
strokeColor:
string
strokeWidth
strokeWidth:
number
textResizing
textResizing:
TextResizing
Defined in
packages/affine/model/src/elements/mindmap/style.ts:12