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

    Modifier and Type
    Method
    Description
    double
     
    double
    Get the relative horizontal postition of top left corner
    double
     
    double
     
  • Method Details

    • 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