Package com.day.cq.dam.api.smartcrop
Interface SmartCrop.NormalizedCropRect
-
- Enclosing interface:
- SmartCrop
public static interface SmartCrop.NormalizedCropRectinterface 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 doublegetHeight()doublegetLeft()Get the relative horizontal postition of top left cornerdoublegetTop()doublegetWidth()
-
-
-
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
-
-