public class BoundingBox extends Object implements Shape
| Constructor and Description |
|---|
BoundingBox(Distance width,
Distance height)
Creates a new
BoundingBox from the given width and height. |
BoundingBox(double width,
double height,
Metric metric)
Creates a new
BoundingBox from the given width, height and Metric. |
public BoundingBox(Distance width, Distance height)
BoundingBox from the given width and height. Both distances must use the same
Metric.width - must not be null.height - must not be null.public BoundingBox(double width,
double height,
Metric metric)
BoundingBox from the given width, height and Metric.width - height - metric - must not be null.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.