Package io.wcm.handler.media
Class Dimension
- java.lang.Object
-
- io.wcm.handler.media.Dimension
-
- Direct Known Subclasses:
CropDimension
@ProviderType public class Dimension extends Object
Dimension with width and height as integer. This class is used instead ofDimensionbecause the latter converts the dimensions to double.
-
-
Constructor Summary
Constructors Constructor Description Dimension(long width, long height)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)longgetHeight()longgetWidth()inthashCode()StringtoString()
-