Dotloom TypeScript API
    Preparing search index...

    Type Alias Shape

    Shape:
        | { at: Point; type: "point" }
        | { a: Point; b: Point; type: "line" }
        | {
            bulges?: number[];
            closed?: boolean;
            points: Point[];
            type: "polyline";
        }
        | { height: number; origin: Point; type: "rect"; width: number }
        | { center: Point; radius: number; type: "circle" }
        | {
            center: Point;
            radius: number;
            start: number;
            sweep: number;
            type: "arc";
        }
        | { elements: PathEl[]; type: "path" }
        | { holes?: Point[][]; outer: Point[]; type: "polygon" }
        | { type: "text" } & Text

    Canonical geometry of built-in entities.