UNPKG

@tldraw/tlschema

Version:

A tiny little drawing app (schema).

12 lines (9 loc) 301 B
import { VecModel } from '../misc/geometry-types' import { TLBaseShape } from './TLBaseShape' /** @public */ export interface TLShapeCrop { topLeft: VecModel bottomRight: VecModel } /** @public */ export type ShapeWithCrop = TLBaseShape<string, { w: number; h: number; crop: TLShapeCrop | null }>