ImageBoundingBox Class
- java.
lang. Object - com.
azure. ai. vision. imageanalysis. models. ImageBoundingBox
- com.
public final class ImageBoundingBox
A basic rectangle specifying a sub-region of the image.
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
getHeight()
Get the height property: Height of the area, in pixels. |
int |
getWidth()
Get the width property: Width of the area, in pixels. |
int |
getX()
Get the x property: X-coordinate of the top left point of the area, in pixels. |
int |
getY()
Get the y property: Y-coordinate of the top left point of the area, in pixels. |
String |
toString()
Returns a compact string containing the bounding box values in a style suitable for printing. |
Methods inherited from java.lang.Object
Method Details
getHeight
public int getHeight()
Get the height property: Height of the area, in pixels.
Returns:
getWidth
public int getWidth()
Get the width property: Width of the area, in pixels.
Returns:
getX
public int getX()
Get the x property: X-coordinate of the top left point of the area, in pixels.
Returns:
getY
public int getY()
Get the y property: Y-coordinate of the top left point of the area, in pixels.
Returns:
toString
public String toString()
Returns a compact string containing the bounding box values in a style suitable for printing.
Overrides:
ImageBoundingBox.toString()Returns:
Applies to
Azure SDK for Java
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin