public class StackLayout extends HandLayout
Constructor and Description |
---|
StackLayout(Location handLocation)
Same as StackLayout(handLocation, rotationAngle) with rotationAngle = 0.
|
StackLayout(Location handLocation,
double rotationAngle)
Creates a StackLayout instance with given hand location and rotationAngle.
|
Modifier and Type | Method and Description |
---|---|
StackLayout |
clone()
Creates a new StackLayout instance with same options.
|
double |
getRotationAngle()
Returns the current rotation angle.
|
void |
setRotationAngle(double rotationAngle)
Sets the current rotation angle to the given angle.
|
getHandLocation, getScaleFactor, setHandLocation, setScaleFactor
public StackLayout(Location handLocation)
handLocation
- the location of the visible cardpublic StackLayout(Location handLocation, double rotationAngle)
handLocation
- the location of the visible cardrotationAngle
- the rotion angle (in degrees, clockwise, zero to east)public double getRotationAngle()
public void setRotationAngle(double rotationAngle)
rotationAngle
- the new current rotation angle (in degrees, clockwise)public StackLayout clone()
clone
in class java.lang.Object