Package com.day.cq.dam.api.smartcrop
Interface SmartCrop.NormalizedCropRect
-
- Enclosing interface:
- SmartCrop
public static interface SmartCrop.NormalizedCropRect
interface for rectangle representing the normalized crop boundary. left + width < 1 top + height < 1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getHeight()
double
getLeft()
Get the relative horizontal postition of top left cornerdouble
getTop()
double
getWidth()
-
-
-
Method Detail
-
getLeft
double getLeft()
Get the relative horizontal postition of top left corner- Returns:
- relative x-position of top left corner for crop
-
getTop
double getTop()
- Returns:
- relative y-position of top left corner for crop
-
getWidth
double getWidth()
- Returns:
- relative width of the crop
-
getHeight
double getHeight()
- Returns:
- relative height of crop
-
-