• Changes a rectangle's minimum and maximum points that define it.

    The rectangle size and coordinates are limited to valid map coordinates, see GetWorldBounds.

    Parameters

    • whichRect: HandleHolder<"rect">
    • minx: number
    • miny: number
    • maxx: number
    • maxy: number

    Returns void

    Bug

    You can't create your own rectangle that would match the dimensions of GetWorldBounds. The maxX and maxY will be smaller by 32.0 than that of the world bounds.

    Note

    See: Rect, SetRectFromLoc, MoveRectTo, MoveRectToLoc.

Generated using TypeDoc