public enum WlOutputTransform extends Enum<WlOutputTransform>
This describes the transform that a compositor will apply to a surface to compensate for the rotation or mirroring of an output device.
The flipped values correspond to an initial flip around a vertical axis followed by rotation.
The purpose is mainly to allow clients to render accordingly and tell the compositor, so that for fullscreen surfaces, the compositor will still be able to scan out directly from client surfaces.
| Enum Constant and Description |
|---|
_180
180 degrees counter-clockwise
|
_270
270 degrees counter-clockwise
|
_90
90 degrees counter-clockwise
|
FLIPPED
180 degree flip around a vertical axis
|
FLIPPED_180
flip and rotate 180 degrees counter-clockwise
|
FLIPPED_270
flip and rotate 270 degrees counter-clockwise
|
FLIPPED_90
flip and rotate 90 degrees counter-clockwise
|
NORMAL
no transform
|
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
static WlOutputTransform |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WlOutputTransform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WlOutputTransform NORMAL
public static final WlOutputTransform _90
public static final WlOutputTransform _180
public static final WlOutputTransform _270
public static final WlOutputTransform FLIPPED
public static final WlOutputTransform FLIPPED_90
public static final WlOutputTransform FLIPPED_180
public static final WlOutputTransform FLIPPED_270
public static WlOutputTransform[] values()
for (WlOutputTransform c : WlOutputTransform.values()) System.out.println(c);
public static WlOutputTransform valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016. All rights reserved.