Skip to content

BlockSuite API Documentation / @blocksuite/blocks / Options

Interface: Options

Properties

bowing?

optional bowing: number

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:14


curveFitting?

optional curveFitting: number

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:17


curveStepCount?

optional curveStepCount: number

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:19


curveTightness?

optional curveTightness: number

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:18


dashGap?

optional dashGap: number

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:27


dashOffset?

optional dashOffset: number

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:26


disableMultiStroke?

optional disableMultiStroke: boolean

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:34


disableMultiStrokeFill?

optional disableMultiStrokeFill: boolean

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:35


fill?

optional fill: string

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:20


fillLineDash?

optional fillLineDash: number[]

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:32


fillLineDashOffset?

optional fillLineDashOffset: number

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:33


fillStyle?

optional fillStyle: string

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:21


fillWeight?

optional fillWeight: number

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:22


fixedDecimalPlaceDigits?

optional fixedDecimalPlaceDigits: number

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:37


hachureAngle?

optional hachureAngle: number

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:23


hachureGap?

optional hachureGap: number

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:24


maxRandomnessOffset?

optional maxRandomnessOffset: number

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:12


preserveVertices?

optional preserveVertices: boolean

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:36


roughness?

optional roughness: number

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:13


seed?

optional seed: number

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:29


simplification?

optional simplification: number

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:25


stroke?

optional stroke: string

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:15


strokeLineDash?

optional strokeLineDash: number[]

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:30


strokeLineDashOffset?

optional strokeLineDashOffset: number

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:31


strokeWidth?

optional strokeWidth: number

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:16


zigzagOffset?

optional zigzagOffset: number

Defined in

packages/affine/block-surface/dist/utils/rough/core.d.ts:28