AspectFrame.setRatio

void setRatio(float ratio) nothrow

Sets the desired aspect ratio of the child.

Parameters

ratioaspect ratio of the child