Skip to content

Home › Overview › ink

aspect_cover ​

Returns the smallest rect with the given aspect ratio (width over height) that covers the specified container.

Functions ​

aspect_cover ​

luau
aspect_cover(container: Rect, aspect: number, align_x: number?, align_y: number?): Rect