public final class XYRectangle extends XYGeometry
| Modifier and Type | Field and Description |
|---|---|
float |
maxX
minimum y value
|
float |
maxY
maximum y value
|
float |
minX
minimum x value
|
float |
minY
maximum x value
|
| Constructor and Description |
|---|
XYRectangle(float minX,
float maxX,
float minY,
float maxY)
Constructs a bounding box by first validating the provided x and y coordinates
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static XYRectangle |
fromPointDistance(float x,
float y,
float radius)
Compute Bounding Box for a circle in cartesian geometry
|
int |
hashCode() |
protected Component2D |
toComponent2D()
get a Component2D from this object
|
String |
toString() |
createpublic final float minX
public final float maxX
public final float minY
public final float maxY
public XYRectangle(float minX,
float maxX,
float minY,
float maxY)
protected Component2D toComponent2D()
XYGeometrytoComponent2D in class XYGeometrypublic static XYRectangle fromPointDistance(float x, float y, float radius)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.