SizeConstraints.aspectRatio

_Approximate_ aspect ratio fraction that should be preserved on resize. Only make sense if preserveAspectRatio() yields true.

struct SizeConstraints
nothrow @nogc
int[2]
aspectRatio
()

Return Value

Type: int[2]

X and Y, represent X/Y fraction.

Meta