BlockSuite API Documentation / @blocksuite/affine-model / StyleThree
Class: StyleThree
Extends
Constructors
new StyleThree()
new StyleThree():
StyleThree
Returns
Inherited from
MindmapStyleGetter
.constructor
Properties
root
readonly
root:object
color
color:
ShapeFillColor
=ShapeFillColor.Black
fillColor
fillColor:
ShapeFillColor
=ShapeFillColor.Yellow
filled
filled:
boolean
=true
fontFamily
fontFamily:
FontFamily
=FontFamily.Poppins
fontSize
fontSize:
number
=16
fontWeight
fontWeight:
FontWeight
=FontWeight.Medium
padding
padding: [
number
,number
]
radius
radius:
number
=10
shadow
shadow:
object
shadow.blur
shadow.blur:
number
=12
shadow.color
shadow.color:
string
='rgba(66, 65, 73, 0.18)'
shadow.offsetX
shadow.offsetX:
number
=0
shadow.offsetY
shadow.offsetY:
number
=0
strokeColor
strokeColor:
string
='transparent'
strokeWidth
strokeWidth:
number
=0
textResizing
textResizing:
TextResizing
=TextResizing.AUTO_WIDTH_AND_HEIGHT
Overrides
Defined in
packages/affine/model/src/elements/mindmap/style.ts:228
Methods
getNodeStyle()
getNodeStyle(
_
,path
):object
Parameters
_
path
number
[]
Returns
object
connector
connector:
ConnectorStyle
node
node:
NodeStyle
Overrides
MindmapStyleGetter
.getNodeStyle
Defined in
packages/affine/model/src/elements/mindmap/style.ts:258