Coral 0.2.17 candidate API
    Preparing search index...

    Interface ShapeSizing

    Shape sizing metadata - defines how text fits within a shape

    interface ShapeSizing {
        minSize: { height: number; width: number };
        padding: { x: number; y: number };
        textBoundsRatio: { x: number; y: number };
    }
    Index
    minSize: { height: number; width: number }

    Minimum size constraints

    padding: { x: number; y: number }

    Padding around text within the shape

    textBoundsRatio: { x: number; y: number }

    Ratio of shape bounds to text bounds (text needs shape_width = text_width * ratio.x)