Skip to content

BlockSuite API Documentation / @blocksuite/affine-model / 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/src/elements/brush/brush.ts:34