@jsfkit/types
    Preparing search index...

    Type Alias Shape

    Shape visual and geometric properties.

    Defines the complete visual styling and custom geometry for a shape, including fill, line, transformation, custom paths, and interactive handles.

    type Shape = {
        ah?: (AdjustValueHandleXY | AdjustValueHandlePolar)[];
        av?: GuidePoint[];
        bwMode?: BlackWhiteMode;
        cxn?: ConnectionPoint[];
        fill?: Fill;
        gd?: GuidePoint[];
        line?: Line;
        paths?: Path[];
        preset?: string;
        rect?: ShapeRect;
        style?: ShapeStyle;
        xfrm?: Xfrm;
    }
    Index

    Properties

    Adjustment handles, allowing interactive shape geometry modification.

    av?: GuidePoint[]

    Adjustment values (guide points that store user-adjustable parameters).

    Black-and-white rendering mode for grayscale or duotone display.

    Connection points for attaching connectors to the shape.

    fill?: Fill

    Fill styling (solid, gradient, pattern, image, or none).

    gd?: GuidePoint[]

    Shape guides (calculated points used in geometry formulas).

    line?: Line

    Line/outline styling properties.

    paths?: Path[]

    Custom geometry paths defining the shape outline.

    preset?: string

    Preset shape type identifier (e.g., "rect", "ellipse", "roundRect").

    rect?: ShapeRect

    Text margin rectangle (inset from shape bounds for text positioning).

    style?: ShapeStyle

    Visual style references (fill, line, effect styles from theme).

    xfrm?: Xfrm

    2D transformation (position, rotation, scale).