NormalizedQuadrilateral Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. visualsearch. models. ResponseBase - com.
microsoft. azure. cognitiveservices. search. visualsearch. models. Identifiable - com.
microsoft. azure. cognitiveservices. search. visualsearch. models. Response - com.
microsoft. azure. cognitiveservices. search. visualsearch. models. Thing - com.
microsoft. azure. cognitiveservices. search. visualsearch. models. Intangible - com.
microsoft. azure. cognitiveservices. search. visualsearch. models. StructuredValue - com.
microsoft. azure. cognitiveservices. search. visualsearch. models. NormalizedQuadrilateral
- com.
- com.
- com.
- com.
- com.
- com.
- 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.
Constructor Summary
Constructor | Description | |
---|---|---|
NormalizedQuadrilateral() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Point2D |
bottomLeft()
Get the bottom |
Point2D |
bottomRight()
Get the bottom |
Point2D |
topLeft()
Get the top |
Point2D |
topRight()
Get the top |
Normalized |
withBottomLeft(Point2D bottomLeft)
Set the bottom |
Normalized |
withBottomRight(Point2D bottomRight)
Set the bottom |
Normalized |
withTopLeft(Point2D topLeft)
Set the top |
Normalized |
withTopRight(Point2D topRight)
Set the top |
Methods inherited from Identifiable
Methods inherited from Response
Methods inherited from Thing
Methods inherited from java.lang.Object
Constructor Details
NormalizedQuadrilateral
public NormalizedQuadrilateral()
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