-
public final class ImageProcessorConfigConfiguration for ImageProcessor.
Warning: These APIs are experimental and subject to change without notice
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classImageProcessorConfig.BuilderBuilder class for ImageProcessorConfig for Java interoperability.
-
Field Summary
Fields Modifier and Type Field Description private final IntegertargetWidthprivate final IntegertargetHeightprivate final ResizeModeresizeModeprivate final LetterboxAnchorletterboxAnchorprivate final FloatpadValueprivate final Normalizationnormalization
-
Constructor Summary
Constructors Constructor Description ImageProcessorConfig(Integer targetWidth, Integer targetHeight, ResizeMode resizeMode, LetterboxAnchor letterboxAnchor, Float padValue, Normalization normalization)
-
Method Summary
Modifier and Type Method Description final IntegergetTargetWidth()final IntegergetTargetHeight()final ResizeModegetResizeMode()final LetterboxAnchorgetLetterboxAnchor()final FloatgetPadValue()final NormalizationgetNormalization()-
-
Constructor Detail
-
ImageProcessorConfig
ImageProcessorConfig(Integer targetWidth, Integer targetHeight, ResizeMode resizeMode, LetterboxAnchor letterboxAnchor, Float padValue, Normalization normalization)
-
-
Method Detail
-
getTargetWidth
final Integer getTargetWidth()
-
getTargetHeight
final Integer getTargetHeight()
-
getResizeMode
final ResizeMode getResizeMode()
-
getLetterboxAnchor
final LetterboxAnchor getLetterboxAnchor()
-
getPadValue
final Float getPadValue()
-
getNormalization
final Normalization getNormalization()
-
-
-
-