BlockSuite API Documentation / @blocksuite/blocks / StyleTwo
Class: StyleTwo
Extends
Constructors
new StyleTwo()
new StyleTwo():
StyleTwo
Returns
Inherited from
MindmapStyleGetter
.constructor
Properties
root
readonly
root:object
color
color:
ShapeFillColor
fillColor
fillColor:
ShapeFillColor
filled
filled:
boolean
fontFamily
fontFamily:
FontFamily
fontSize
fontSize:
number
fontWeight
fontWeight:
FontWeight
padding
padding: [
number
,number
]
radius
radius:
number
shadow
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
Overrides
Defined in
packages/affine/model/dist/elements/mindmap/style.d.ts:69
Methods
getNodeStyle()
getNodeStyle(
_
,path
):object
Parameters
_
path
number
[]
Returns
object
connector
connector:
ConnectorStyle
node
node:
NodeStyle
Overrides
MindmapStyleGetter
.getNodeStyle
Defined in
packages/affine/model/dist/elements/mindmap/style.d.ts:89