Class ImageMetadata
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.vision.computervision.models.ImageMetadata
-
public class ImageMetadata extends Object
Image metadata.
-
-
Constructor Summary
Constructors Constructor Description ImageMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
format()
Get the format value.int
height()
Get the height value.int
width()
Get the width value.ImageMetadata
withFormat(String format)
Set the format value.ImageMetadata
withHeight(int height)
Set the height value.ImageMetadata
withWidth(int width)
Set the width value.
-
-
-
Method Detail
-
width
public int width()
Get the width value.- Returns:
- the width value
-
withWidth
public ImageMetadata withWidth(int width)
Set the width value.- Parameters:
width
- the width value to set- Returns:
- the ImageMetadata object itself.
-
height
public int height()
Get the height value.- Returns:
- the height value
-
withHeight
public ImageMetadata withHeight(int height)
Set the height value.- Parameters:
height
- the height value to set- Returns:
- the ImageMetadata object itself.
-
format
public String format()
Get the format value.- Returns:
- the format value
-
withFormat
public ImageMetadata withFormat(String format)
Set the format value.- Parameters:
format
- the format value to set- Returns:
- the ImageMetadata object itself.
-
-