public interface Rotatable
| Modifier and Type | Method and Description |
|---|---|
int |
getRotation()
Gets the rotation specified to this pane.
|
static void |
load(Rotatable rotatable,
Element element)
|
void |
setRotation(int rotation)
Sets the rotation of this pane.
|
void setRotation(int rotation)
rotation - the rotation of this pane, must be divisible by 90.UnsupportedOperationException - when the length and height of the pane are not the sameIllegalArgumentException - when the rotation isn't a multiple of 90@Contract(pure=true) int getRotation()
static void load(@NotNull
Rotatable rotatable,
@NotNull
Element element)
Rotatable Pane for the specified pane. The mutable pane contains
the changes made.rotatable - the rotatable pane's elements to be appliedelement - the XML element for this paneCopyright © 2019. All rights reserved.