类 CropFilter

    • 构造器详细资料

      • CropFilter

        public CropFilter()
        Construct a CropFilter.
      • CropFilter

        public CropFilter​(int x,
                          int y,
                          int width,
                          int height)
        Construct a CropFilter.
        参数:
        x - the left edge of the crop rectangle
        y - the top edge of the crop rectangle
        width - the width of the crop rectangle
        height - the height of the crop rectangle
    • 方法详细资料

      • setX

        public void setX​(int x)
        Set the left edge of the crop rectangle.
        参数:
        x - the left edge of the crop rectangle
        另请参阅:
        getX()
      • getX

        public int getX()
        Get the left edge of the crop rectangle.
        返回:
        the left edge of the crop rectangle
        另请参阅:
        setX(int)
      • setY

        public void setY​(int y)
        Set the top edge of the crop rectangle.
        参数:
        y - the top edge of the crop rectangle
        另请参阅:
        getY()
      • getY

        public int getY()
        Get the top edge of the crop rectangle.
        返回:
        the top edge of the crop rectangle
        另请参阅:
        setY(int)
      • setWidth

        public void setWidth​(int width)
        Set the width of the crop rectangle.
        参数:
        width - the width of the crop rectangle
        另请参阅:
        getWidth()
      • getWidth

        public int getWidth()
        Get the width of the crop rectangle.
        返回:
        the width of the crop rectangle
        另请参阅:
        setWidth(int)
      • setHeight

        public void setHeight​(int height)
        Set the height of the crop rectangle.
        参数:
        height - the height of the crop rectangle
        另请参阅:
        getHeight()
      • getHeight

        public int getHeight()
        Get the height of the crop rectangle.
        返回:
        the height of the crop rectangle
        另请参阅:
        setHeight(int)