public static abstract class
ImageProcessingOptions.Builder
Builder for ImageProcessingOptions
.
If both region-of-interest and rotation are specified, the crop around the region-of-interest is extracted first, then the specified rotation is applied to the crop.
Public Constructors
Builder()
|
Public Methods
final ImageProcessingOptions |
build()
Validates and builds the
ImageProcessingOptions instance. |
abstract ImageProcessingOptions.Builder |
setRegionOfInterest(RectF value)
Sets the optional region-of-interest to crop from the image.
|
abstract ImageProcessingOptions.Builder |
setRotationDegrees(int value)
Sets the rotation to apply to the image (or cropped region-of-interest), in degrees
clockwise.
|
Inherited Methods
Public Constructors
public Builder ()
Public Methods
public final ImageProcessingOptions build ()
Validates and builds the ImageProcessingOptions
instance.