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