Skip to content

BlockSuite API Documentation / @blocksuite/blocks / BrushProps

Type Alias: BrushProps

BrushProps: BaseElementProps & object

Type declaration

color

color: Color

lineWidth

lineWidth: number

points

points: number[][]

[[x0,y0,pressure0?],[x1,y1,pressure1?]...] pressure is optional and exsits when pressure sensitivity is supported, otherwise not.

Defined in

packages/affine/model/dist/elements/brush/brush.d.ts:5