Dotloom TypeScript API
    Preparing search index...

    Type Alias PrimitiveDef

    PrimitiveDef:
        | { from: string; kind: "line"; style?: PrimStyle; to: string }
        | {
            closed?: boolean;
            kind: "polyline";
            points: string[];
            style?: PrimStyle;
        }
        | { kind: "polygon"; points: string[]; style?: PrimStyle }
        | { center: string; kind: "circle"; radius: string; style?: PrimStyle }
        | {
            center: string;
            kind: "arc";
            radius: string;
            start: string;
            style?: PrimStyle;
            sweep: string;
        }
        | {
            content: string;
            halign?: HAlign;
            height: string;
            kind: "text";
            position: string;
            rotation?: string;
            style?: PrimStyle;
            valign?: VAlign;
        }