weasel API - v0.8.0
    Preparing search index...

    Function composeRectPose

    • Default compose for axis-aligned rectangles. Adds translation; preserves child width/height. Treat as the canonical compose for any {x, y, width, height} pose under a translation-only hierarchy.

      Generic over the concrete pose type so callers with a wider pose (e.g. RectPose & { rotation }) can pass it through; the extra fields are taken from the child unchanged.

      Type Parameters

      Parameters

      Returns TPose