BoundingRect Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. BoundingRect
- com.
public class BoundingRect
A bounding box for an area inside an image.
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
h()
Get the h value. |
int |
w()
Get the w value. |
Bounding |
withH(int h)
Set the h value. |
Bounding |
withW(int w)
Set the w value. |
Bounding |
withX(int x)
Set the x value. |
Bounding |
withY(int y)
Set the y value. |
int |
x()
Get the x value. |
int |
y()
Get the y value. |
Method Details
h
public int h()
Get the h value.
Returns:
the h value
w
public int w()
Get the w value.
Returns:
the w value
withH
public BoundingRect withH(int h)
Set the h value.
Parameters:
h
- the h value to set
Returns:
the BoundingRect object itself.
withW
public BoundingRect withW(int w)
Set the w value.
Parameters:
w
- the w value to set
Returns:
the BoundingRect object itself.
withX
public BoundingRect withX(int x)
Set the x value.
Parameters:
x
- the x value to set
Returns:
the BoundingRect object itself.
withY
public BoundingRect withY(int y)
Set the y value.
Parameters:
y
- the y value to set
Returns:
the BoundingRect object itself.
x
public int x()
Get the x value.
Returns:
the x value
y
public int y()
Get the y value.
Returns:
the y value
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java