Dotloom TypeScript API
    Preparing search index...

    Type Alias Primitive

    Primitive:
        | {
            fill: number
            | null;
            prim: "shape";
            shape: Shape;
            stroke: Stroke | null;
        }
        | { color: number; prim: "text"; text: Required<Text> }
        | {
            color: number;
            direction: Point;
            prim: "arrow";
            size: number;
            tip: Point;
        }