setRatio

open fun setRatio(ratio: Float)

Sets the desired aspect ratio of the child.

Parameters

ratio

aspect ratio of the child