BlockSuite API Documentation / @blocksuite/affine-block-surface / Options
Interface: Options
Properties
bowing?
optional
bowing:number
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:18
curveFitting?
optional
curveFitting:number
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:21
curveStepCount?
optional
curveStepCount:number
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:23
curveTightness?
optional
curveTightness:number
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:22
dashGap?
optional
dashGap:number
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:31
dashOffset?
optional
dashOffset:number
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:30
disableMultiStroke?
optional
disableMultiStroke:boolean
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:38
disableMultiStrokeFill?
optional
disableMultiStrokeFill:boolean
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:39
fill?
optional
fill:string
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:24
fillLineDash?
optional
fillLineDash:number
[]
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:36
fillLineDashOffset?
optional
fillLineDashOffset:number
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:37
fillStyle?
optional
fillStyle:string
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:25
fillWeight?
optional
fillWeight:number
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:26
fixedDecimalPlaceDigits?
optional
fixedDecimalPlaceDigits:number
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:41
hachureAngle?
optional
hachureAngle:number
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:27
hachureGap?
optional
hachureGap:number
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:28
maxRandomnessOffset?
optional
maxRandomnessOffset:number
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:16
preserveVertices?
optional
preserveVertices:boolean
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:40
roughness?
optional
roughness:number
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:17
seed?
optional
seed:number
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:33
simplification?
optional
simplification:number
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:29
stroke?
optional
stroke:string
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:19
strokeLineDash?
optional
strokeLineDash:number
[]
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:34
strokeLineDashOffset?
optional
strokeLineDashOffset:number
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:35
strokeWidth?
optional
strokeWidth:number
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:20
zigzagOffset?
optional
zigzagOffset:number
Defined in
packages/affine/block-surface/src/utils/rough/core.ts:32