public static class
CropAndResize.Options
Optional attributes for CropAndResize
Public Methods
CropAndResize.Options |
extrapolationValue(Float extrapolationValue)
|
CropAndResize.Options |
method(String method)
|
Inherited Methods
boolean |
equals(Object arg0)
|
final Class<?> |
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String |
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
public CropAndResize.Options extrapolationValue (Float extrapolationValue)
Parameters
extrapolationValue | Value used for extrapolation, when applicable. |
---|
public CropAndResize.Options method (String method)
Parameters
method | A string specifying the sampling method for resizing. It can be either `"bilinear"` or `"nearest"` and default to `"bilinear"`. Currently two sampling methods are supported: Bilinear and Nearest Neighbor. |
---|