Region Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. customvision. training. models. Region
- com.
public class Region
The Region model.
Method Summary
Modifier and Type | Method and Description |
---|---|
double |
height()
Get the height 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. |
Region |
withHeight(double height)
Set the height value. |
Region |
withLeft(double left)
Set the left value. |
Region |
withTagId(UUID tagId)
Set the tagId value. |
Region |
withTop(double top)
Set the top value. |
Region |
withWidth(double width)
Set the width value. |
Method Details
height
public double height()
Get the height 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 Region withHeight(double height)
Set the height value.
Parameters:
Returns:
withLeft
public Region withLeft(double left)
Set the left value.
Parameters:
Returns:
withTagId
public Region withTagId(UUID tagId)
Set the tagId value.
Parameters:
Returns:
withTop
public Region withTop(double top)
Set the top value.
Parameters:
Returns:
withWidth
public Region withWidth(double width)
Set the width value.
Parameters:
Returns: