| Modifier and Type | Field and Description |
|---|---|
| public static final Side | BOTTOM
Represents bottom side of a rectangle. |
| public static final Side | LEFT
Represents left side of a rectangle. |
| public static final Side | RIGHT
Represents right side of a rectangle. |
| public static final Side | TOP
Represents top side of a rectangle. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if this represents a horizontal side of a rectangleIndicates whether this is horizontal side of a rectangle (returns
|
| public boolean | Returns: true if this represents a vertical side of a rectangleIndicates whether this is vertical side of a rectangle (returns
|
| public static Side | |
| public static Side[] |
| BOTTOM | back to summary |
|---|---|
| public static final Side BOTTOM Represents bottom side of a rectangle. | |
| LEFT | back to summary |
|---|---|
| public static final Side LEFT Represents left side of a rectangle. | |
| RIGHT | back to summary |
|---|---|
| public static final Side RIGHT Represents right side of a rectangle. | |
| TOP | back to summary |
|---|---|
| public static final Side TOP Represents top side of a rectangle. | |
| Side | back to summary |
|---|---|
| private Side() | |
| isHorizontal | back to summary |
|---|---|
| public boolean isHorizontal() Indicates whether this is horizontal side of a rectangle (returns
| |
| isVertical | back to summary |
|---|---|
| public boolean isVertical() Indicates whether this is vertical side of a rectangle (returns
| |
| valueOf | back to summary |
|---|---|
| public static Side valueOf(String name) | |
| values | back to summary |
|---|---|
| public static Side[] values() | |