你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ImageRegionCreateResult 类
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. customvision. training. models. ImageRegionCreateResult
- com.
public class ImageRegionCreateResult
ImageRegionCreateResult 模型。
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
DateTime |
created()
获取创建的值。 |
double |
height()
获取高度值。 |
UUID |
imageId()
获取 imageId 值。 |
double |
left()
获取左侧值。 |
UUID |
regionId()
获取 regionId 值。 |
UUID |
tagId()
获取 tagId 值。 |
String |
tagName()
获取 tagName 值。 |
double |
top()
获取顶部值。 |
double |
width()
获取宽度值。 |
Image |
withHeight(double height)
设置高度值。 |
Image |
withLeft(double left)
设置左侧值。 |
Image |
withTagId(UUID tagId)
设置 tagId 值。 |
Image |
withTop(double top)
设置顶部值。 |
Image |
withWidth(double width)
设置宽度值。 |
方法详细信息
created
public DateTime created()
获取创建的值。
Returns:
height
public double height()
获取高度值。
Returns:
imageId
public UUID imageId()
获取 imageId 值。
Returns:
left
public double left()
获取左侧值。
Returns:
regionId
public UUID regionId()
获取 regionId 值。
Returns:
tagId
public UUID tagId()
获取 tagId 值。
Returns:
tagName
public String tagName()
获取 tagName 值。
Returns:
top
public double top()
获取顶部值。
Returns:
width
public double width()
获取宽度值。
Returns:
withHeight
public ImageRegionCreateResult withHeight(double height)
设置高度值。
Parameters:
Returns:
withLeft
public ImageRegionCreateResult withLeft(double left)
设置左侧值。
Parameters:
Returns:
withTagId
public ImageRegionCreateResult withTagId(UUID tagId)
设置 tagId 值。
Parameters:
Returns:
withTop
public ImageRegionCreateResult withTop(double top)
设置顶部值。
Parameters:
Returns:
withWidth
public ImageRegionCreateResult withWidth(double width)
设置宽度值。
Parameters:
Returns: