Class ImageScale
java.lang.Object
com.azure.media.videoanalyzer.edge.models.ImageScale
Image scaling mode.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the height property: The desired output image height.getMode()
Get the mode property: Describes the image scaling mode to be applied.getWidth()
Get the width property: The desired output image width.Set the height property: The desired output image height.setMode
(ImageScaleMode mode) Set the mode property: Describes the image scaling mode to be applied.Set the width property: The desired output image width.
-
Constructor Details
-
ImageScale
public ImageScale()
-
-
Method Details
-
getMode
Get the mode property: Describes the image scaling mode to be applied. Default mode is 'pad'.- Returns:
- the mode value.
-
setMode
Set the mode property: Describes the image scaling mode to be applied. Default mode is 'pad'.- Parameters:
mode
- the mode value to set.- Returns:
- the ImageScale object itself.
-
getWidth
Get the width property: The desired output image width.- Returns:
- the width value.
-
setWidth
Set the width property: The desired output image width.- Parameters:
width
- the width value to set.- Returns:
- the ImageScale object itself.
-
getHeight
Get the height property: The desired output image height.- Returns:
- the height value.
-
setHeight
Set the height property: The desired output image height.- Parameters:
height
- the height value to set.- Returns:
- the ImageScale object itself.
-