public class DeviceRotation
extends java.lang.Object
Example Instantiation to rotate device to "Landscape Right": DeviceRotation(0, 0, 90);
Constructor and Description |
---|
DeviceRotation(int x,
int y,
int z)
Instantiate a DeviceRotation object based on three integers.
|
DeviceRotation(java.util.Map<java.lang.String,java.lang.Number> map)
Instantiate a DeviceRotation object based on a HashMap object where the keys are the axis x, y,
and z respectively: x : xVal y : yVal z : zVal
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getX() |
int |
getY() |
int |
getZ() |
int |
hashCode() |
java.util.Map<java.lang.String,java.lang.Integer> |
parameters() |
public DeviceRotation(int x, int y, int z)
public DeviceRotation(java.util.Map<java.lang.String,java.lang.Number> map)
public int getX()
public int getY()
public int getZ()
public java.util.Map<java.lang.String,java.lang.Integer> parameters()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object