接口 ICrop
public interface ICrop
Represents an object used to remove a portion of an image.
-
方法概要
修饰符和类型方法说明double
Gets the height of the image that is to be cropped.double
Gets the x-axis offset of the image that is to be cropped.double
Gets the y-axis offset of the image that is to be cropped.double
Gets the width of the image that is to be cropped.double
Gets the height of a shape that is used to crop an image.double
Gets the location of the left-side of a shape that is used to crop an image.double
Gets the location of the top of a shape that is used to crop an image.double
Gets the width of a shape that is used to crop an image.void
setPictureHeight
(double value) Sets the height of the image that is to be cropped.void
setPictureOffsetX
(double value) Sets the x-axis offset of the image that is to be cropped.void
setPictureOffsetY
(double value) Sets the y-axis offset of the image that is to be cropped.void
setPictureWidth
(double value) Sets the width of the image that is to be cropped.void
setShapeHeight
(double value) Sets the height of a shape that is used to crop an image.void
setShapeLeft
(double value) Sets the location of the left-side of a shape that is used to crop an image.void
setShapeTop
(double value) Sets the location of the top of a shape that is used to crop an image.void
setShapeWidth
(double value) Sets the width of a shape that is used to crop an image.
-
方法详细资料
-
getPictureHeight
double getPictureHeight()Gets the height of the image that is to be cropped. -
setPictureHeight
void setPictureHeight(double value) Sets the height of the image that is to be cropped. -
getPictureOffsetX
double getPictureOffsetX()Gets the x-axis offset of the image that is to be cropped. -
setPictureOffsetX
void setPictureOffsetX(double value) Sets the x-axis offset of the image that is to be cropped. -
getPictureOffsetY
double getPictureOffsetY()Gets the y-axis offset of the image that is to be cropped. -
setPictureOffsetY
void setPictureOffsetY(double value) Sets the y-axis offset of the image that is to be cropped. -
getPictureWidth
double getPictureWidth()Gets the width of the image that is to be cropped. -
setPictureWidth
void setPictureWidth(double value) Sets the width of the image that is to be cropped. -
getShapeHeight
double getShapeHeight()Gets the height of a shape that is used to crop an image. -
setShapeHeight
void setShapeHeight(double value) Sets the height of a shape that is used to crop an image. -
getShapeLeft
double getShapeLeft()Gets the location of the left-side of a shape that is used to crop an image. -
setShapeLeft
void setShapeLeft(double value) Sets the location of the left-side of a shape that is used to crop an image. -
getShapeTop
double getShapeTop()Gets the location of the top of a shape that is used to crop an image. -
setShapeTop
void setShapeTop(double value) Sets the location of the top of a shape that is used to crop an image. -
getShapeWidth
double getShapeWidth()Gets the width of a shape that is used to crop an image. -
setShapeWidth
void setShapeWidth(double value) Sets the width of a shape that is used to crop an image.
-