NormalizedQuadrilateral Class
- java.
lang. Object - ResponseBase
- Identifiable
- Response
- Thing
- Intangible
- StructuredValue
- com.
microsoft. azure. cognitiveservices. search. visualsearch. models. NormalizedQuadrilateral
- com.
public class NormalizedQuadrilateral extends StructuredValue
Defines a region of an image. The region is a convex quadrilateral defined by coordinates of its top left, top right, bottom left, and bottom right points. The coordinates are fractional values of the original image's width and height in the range 0.0 through 1.0.
Method Summary
Modifier and Type | Method and Description |
---|---|
Point2D |
bottomLeft()
Get the bottomLeft value. |
Point2D |
bottomRight()
Get the bottomRight value. |
Point2D |
topLeft()
Get the topLeft value. |
Point2D |
topRight()
Get the topRight value. |
Normalized |
withBottomLeft(Point2D bottomLeft)
Set the bottomLeft value. |
Normalized |
withBottomRight(Point2D bottomRight)
Set the bottomRight value. |
Normalized |
withTopLeft(Point2D topLeft)
Set the topLeft value. |
Normalized |
withTopRight(Point2D topRight)
Set the topRight value. |
Inherited Members
Method Details
bottomLeft
public Point2D bottomLeft()
Get the bottomLeft value.
Returns:
bottomRight
public Point2D bottomRight()
Get the bottomRight value.
Returns:
topLeft
public Point2D topLeft()
Get the topLeft value.
Returns:
topRight
public Point2D topRight()
Get the topRight value.
Returns:
withBottomLeft
public NormalizedQuadrilateral withBottomLeft(Point2D bottomLeft)
Set the bottomLeft value.
Parameters:
Returns:
withBottomRight
public NormalizedQuadrilateral withBottomRight(Point2D bottomRight)
Set the bottomRight value.
Parameters:
Returns:
withTopLeft
public NormalizedQuadrilateral withTopLeft(Point2D topLeft)
Set the topLeft value.
Parameters:
Returns:
withTopRight
public NormalizedQuadrilateral withTopRight(Point2D topRight)
Set the topRight value.
Parameters:
Returns:
Applies to
Azure SDK for Java