你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ImageRegionCreateEntry Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. customvision. training. models. ImageRegionCreateEntry
- com.
public class ImageRegionCreateEntry
Entry associating a region to an image.
Method Summary
Modifier and Type | Method and Description |
---|---|
double |
height()
Get the height value. |
UUID |
imageId()
Get the imageId value. |
double |
left()
Get the left value. |
UUID |
tagId()
Get the tagId value. |
double |
top()
Get the top value. |
double |
width()
Get the width value. |
Image |
withHeight(double height)
Set the height value. |
Image |
withImageId(UUID imageId)
Set the imageId value. |
Image |
withLeft(double left)
Set the left value. |
Image |
withTagId(UUID tagId)
Set the tagId value. |
Image |
withTop(double top)
Set the top value. |
Image |
withWidth(double width)
Set the width value. |
Method Details
height
public double height()
Get the height value.
Returns:
imageId
public UUID imageId()
Get the imageId value.
Returns:
left
public double left()
Get the left value.
Returns:
tagId
public UUID tagId()
Get the tagId value.
Returns:
top
public double top()
Get the top value.
Returns:
width
public double width()
Get the width value.
Returns:
withHeight
public ImageRegionCreateEntry withHeight(double height)
Set the height value.
Parameters:
Returns:
withImageId
public ImageRegionCreateEntry withImageId(UUID imageId)
Set the imageId value.
Parameters:
Returns:
withLeft
public ImageRegionCreateEntry withLeft(double left)
Set the left value.
Parameters:
Returns:
withTagId
public ImageRegionCreateEntry withTagId(UUID tagId)
Set the tagId value.
Parameters:
Returns:
withTop
public ImageRegionCreateEntry withTop(double top)
Set the top value.
Parameters:
Returns:
withWidth
public ImageRegionCreateEntry withWidth(double width)
Set the width value.
Parameters:
Returns: