Skip to content

rect2FitInside

rect2FitInside(container, contained): Rect2

Defined in: rect2.ts:197

Fits the contained rectangle inside the container rectangle while maintaining the aspect ratio of the contained rectangle.

Rect2

Rect2

Rect2