Sets a new aspect ratio, overriding what was there previously.
It then calls setSize
immediately using the current dimensions.
name | type | description |
---|---|---|
ratio | number |
The new aspect ratio. |
This Size component instance.