Package org.freedesktop.wayland.shared
Enum Class WlOutputTransform
- All Implemented Interfaces:
Serializable
,Comparable<WlOutputTransform>
,Constable
transformation applied to buffer contents
This describes transformations that clients and compositors apply to buffer contents.
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription180 degrees counter-clockwise270 degrees counter-clockwise90 degrees counter-clockwise180 degree flip around a vertical axisflip and rotate 180 degrees counter-clockwiseflip and rotate 270 degrees counter-clockwiseflip and rotate 90 degrees counter-clockwiseno transform -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
static WlOutputTransform
of
(int i) static WlOutputTransform
Returns the enum constant of this class with the specified name.static WlOutputTransform[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORMAL
no transform -
_90
90 degrees counter-clockwise -
_180
180 degrees counter-clockwise -
_270
270 degrees counter-clockwise -
FLIPPED
180 degree flip around a vertical axis -
FLIPPED_90
flip and rotate 90 degrees counter-clockwise -
FLIPPED_180
flip and rotate 180 degrees counter-clockwise -
FLIPPED_270
flip and rotate 270 degrees counter-clockwise
-
-
Field Details
-
value
public final int value
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue() -
of
-