BoundingRect 类
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. BoundingRect
- com.
public class BoundingRect
图像内部区域的边框。
方法摘要
| 修饰符和类型 | 方法和描述 |
|---|---|
| int |
h()
获取 h 值。 |
| int |
w()
获取 w 值。 |
|
Bounding |
withH(int h)
设置 h 值。 |
|
Bounding |
withW(int w)
设置 w 值。 |
|
Bounding |
withX(int x)
设置 x 值。 |
|
Bounding |
withY(int y)
设置 y 值。 |
| int |
x()
获取 x 值。 |
| int |
y()
获取 y 值。 |
方法详细信息
h
public int h()
获取 h 值。
Returns:
w
public int w()
获取 w 值。
Returns:
withH
public BoundingRect withH(int h)
设置 h 值。
Parameters:
Returns:
withW
public BoundingRect withW(int w)
设置 w 值。
Parameters:
Returns:
withX
public BoundingRect withX(int x)
设置 x 值。
Parameters:
Returns:
withY
public BoundingRect withY(int y)
设置 y 值。
Parameters:
Returns:
x
public int x()
获取 x 值。
Returns:
y
public int y()
获取 y 值。
Returns: