public static class Crop.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Crop |
build()
Build Crop
|
Crop.Builder |
setHeight(java.math.BigDecimal height)
Set the height of the final crop
|
Crop.Builder |
setWidth(java.math.BigDecimal width)
Set the width of the final crop
|
Crop.Builder |
setX(java.math.BigDecimal x)
Set the x value where offset crop begins
|
Crop.Builder |
setY(java.math.BigDecimal y)
Set the y value where offset crop begins
|
public Crop.Builder setX(java.math.BigDecimal x)
x
- BigDecimalpublic Crop.Builder setY(java.math.BigDecimal y)
y
- BigDecimalpublic Crop.Builder setHeight(java.math.BigDecimal height)
height
- BigDecimalpublic Crop.Builder setWidth(java.math.BigDecimal width)
width
- BigDecimalpublic Crop build()