Skip to content

BlockSuite API Documentation / @blocksuite/blocks / StyleFour

Class: StyleFour

Extends

Constructors

new StyleFour()

new StyleFour(): StyleFour

Returns

StyleFour

Inherited from

MindmapStyleGetter.constructor

Properties

root

readonly root: object

color

color: string

fillColor

fillColor: string

filled

filled: boolean

fontFamily

fontFamily: FontFamily

fontSize

fontSize: number

fontWeight

fontWeight: FontWeight

padding

padding: [number, number]

radius

radius: number

strokeColor

strokeColor: string

strokeWidth

strokeWidth: number

textResizing

textResizing: TextResizing

Overrides

MindmapStyleGetter.root

Defined in

packages/affine/model/dist/elements/mindmap/style.d.ts:125

Methods

getNodeStyle()

getNodeStyle(_, path): object

Parameters

_

MindmapNode

path

number[]

Returns

object

connector

connector: ConnectorStyle

node

node: NodeStyle

Overrides

MindmapStyleGetter.getNodeStyle

Defined in

packages/affine/model/dist/elements/mindmap/style.d.ts:139