comicaljs
Version:
Edit cartoon bubble frames around an HTML element
11 lines (10 loc) • 583 B
TypeScript
import { TailSpec } from "./bubbleSpec";
import { Bubble } from "./bubble";
import { CurveTail } from "./curveTail";
export declare class ArcTail extends CurveTail {
constructor(root: paper.Point, tip: paper.Point, mid: paper.Point, lowerLayer: paper.Layer, upperLayer: paper.Layer, handleLayer: paper.Layer, spec: TailSpec, bubble: Bubble | undefined);
makeShapes(): void;
getBubblePath(): paper.Path;
nudgeTowards(start: paper.Point, target: paper.Point): paper.Point;
makeBezier(start: paper.Point, mid: paper.Point, end: paper.Point): paper.Path;
}