getMode method
Implementation
int getMode() {
switch (this) {
case Mode.normal:
return 0;
case Mode.horizontal:
return 1;
}
}
int getMode() {
switch (this) {
case Mode.normal:
return 0;
case Mode.horizontal:
return 1;
}
}