UIAspectRatio
Complete API reference for UIAspectRatio, including constructors, attributes, virtual attributes, and methods.
Package: JAVARuntime
Category: UI
Component: yes
public class UIAspectRatio extends Component
Constructors
| Signature | Description |
|---|---|
UIAspectRatio() | Creates a new instance of UIAspectRatio. |
Virtual Attributes
| Name | Type | Access | Description |
|---|---|---|---|
mode | Mode | get/set | Virtual attribute exposed by getMode. Access it like a field to read or write the underlying value. |
proportion | float | get/set | Virtual attribute exposed by getProportion. Access it like a field to read or write the underlying value. |
Methods
| Signature | Returns | Description |
|---|---|---|
getMode() | Mode | Returns the current mode value. |
getProportion() | float | Returns the current proportion value. |
setMode(Mode) | void | Sets mode. |
setProportion(float) | void | Sets proportion. |