comicaljs
Version:
Edit cartoon bubble frames around an HTML element
12 lines (11 loc) • 496 B
TypeScript
import { Tail } from "./tail";
import { TailSpec } from "./bubbleSpec";
import { Bubble } from "./bubble";
export declare class LineTail extends Tail {
private tailWidth;
constructor(root: paper.Point, tip: paper.Point, lowerLayer: paper.Layer, upperLayer: paper.Layer, handleLayer: paper.Layer, spec: TailSpec, bubble: Bubble | undefined);
canUnite(): boolean;
makeShapes(): void;
makeShape(from: paper.Point): paper.Path;
onClick(action: () => void): void;
}