Class ImageScale
- java.lang.Object
-
- com.azure.media.videoanalyzer.edge.models.ImageScale
-
public final class ImageScale extends Object
Image scaling mode.
-
-
Constructor Summary
Constructors Constructor Description ImageScale()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHeight()
Get the height property: The desired output image height.ImageScaleMode
getMode()
Get the mode property: Describes the image scaling mode to be applied.String
getWidth()
Get the width property: The desired output image width.ImageScale
setHeight(String height)
Set the height property: The desired output image height.ImageScale
setMode(ImageScaleMode mode)
Set the mode property: Describes the image scaling mode to be applied.ImageScale
setWidth(String width)
Set the width property: The desired output image width.
-
-
-
Method Detail
-
getMode
public ImageScaleMode getMode()
Get the mode property: Describes the image scaling mode to be applied. Default mode is 'pad'.- Returns:
- the mode value.
-
setMode
public ImageScale setMode(ImageScaleMode mode)
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
public String getWidth()
Get the width property: The desired output image width.- Returns:
- the width value.
-
setWidth
public ImageScale setWidth(String width)
Set the width property: The desired output image width.- Parameters:
width
- the width value to set.- Returns:
- the ImageScale object itself.
-
getHeight
public String getHeight()
Get the height property: The desired output image height.- Returns:
- the height value.
-
setHeight
public ImageScale setHeight(String height)
Set the height property: The desired output image height.- Parameters:
height
- the height value to set.- Returns:
- the ImageScale object itself.
-
-