public final class BoundingBox extends Object
Constructor and Description |
---|
BoundingBox(Point topLeft,
Point topRight,
Point bottomRight,
Point bottomLeft)
Constructs a Bounding box object.
|
Modifier and Type | Method and Description |
---|---|
Point |
getBottomLeft()
Gets the bottom left coordinate of the Bounding box.
|
Point |
getBottomRight()
Gets the bottom right coordinate of the Bounding box.
|
Point |
getTopLeft()
Gets the top left coordinate of the Bounding box.
|
Point |
getTopRight()
Gets the top right coordinate of the Bounding box.
|
public BoundingBox(Point topLeft, Point topRight, Point bottomRight, Point bottomLeft)
topLeft
- The top-left coordinate of the Bounding box.topRight
- The top-right coordinate of the Bounding box.bottomRight
- The bottom right coordinate of the Bounding box.bottomLeft
- The bottom-left coordinate of the Bounding box.public Point getTopLeft()
public Point getTopRight()
public Point getBottomRight()
public Point getBottomLeft()
Copyright © 2020 Microsoft Corporation. All rights reserved.