public interface IHasDimensionInt extends IHasWidthInt, IHasHeightInt
| Modifier and Type | Method and Description |
|---|---|
default boolean |
isLandscape() |
default boolean |
isPortrait() |
default boolean |
isQuadratic() |
getWidthgetHeightdefault boolean isLandscape()
true if width > height, false
otherwise.default boolean isPortrait()
true if height > width, false
otherwise.default boolean isQuadratic()
true if width equals height, false
otherwise.Copyright © 2014–2019 Philip Helger. All rights reserved.