Files
AFFiNE-Mirror/blocksuite/affine/gfx/shape/src/consts.ts
T
2025-03-21 06:13:11 +00:00

20 lines
484 B
TypeScript

import {
DEFAULT_ROUGHNESS,
LineWidth,
StrokeStyle,
} from '@blocksuite/affine-model';
export const SHAPE_OVERLAY_WIDTH = 100;
export const SHAPE_OVERLAY_HEIGHT = 100;
export const SHAPE_OVERLAY_OFFSET_X = 6;
export const SHAPE_OVERLAY_OFFSET_Y = 6;
export const SHAPE_OVERLAY_OPTIONS = {
seed: 666,
roughness: DEFAULT_ROUGHNESS,
strokeStyle: StrokeStyle.Solid,
strokeLineDash: [] as number[],
stroke: 'black',
strokeWidth: LineWidth.Two,
fill: 'transparent',
};