UNPKG

comicaljs

Version:

Edit cartoon bubble frames around an HTML element

28 lines (27 loc) 645 B
export interface BubbleSpecPattern { version?: string; style?: string; tails?: TailSpec[]; level?: number; borderStyle?: string; cornerRadiusX?: number; cornerRadiusY?: number; backgroundColors?: string[]; outerBorderColor?: string; order?: number; shadowOffset?: number; } export interface BubbleSpec extends BubbleSpecPattern { version: string; style: string; tails: TailSpec[]; } export interface TailSpec { tipX: number; tipY: number; midpointX: number; midpointY: number; joiner?: boolean; style?: string; autoCurve?: boolean; }