public class AspectRatio extends Object
Modifier and Type | Field and Description |
---|---|
static AspectRatio |
ASPECT_RATIO_11_9
Pre-defined aspect ratio 11:9.
|
static AspectRatio |
ASPECT_RATIO_16_9
Pre-defined aspect ratio 16:9.
|
static AspectRatio |
ASPECT_RATIO_4_3
Pre-defined aspect ratio 4:3.
|
int |
denominator |
int |
numerator |
Constructor and Description |
---|
AspectRatio(int numerator,
int denominator) |
public static final AspectRatio ASPECT_RATIO_4_3
public static final AspectRatio ASPECT_RATIO_16_9
public static final AspectRatio ASPECT_RATIO_11_9
public final int numerator
public final int denominator