public final class XYCircle extends XYGeometry
NOTES:
Constructor and Description |
---|
XYCircle(float x,
float y,
float radius)
Creates a new circle from the supplied x/y center and radius.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
float |
getRadius()
Returns the radius
|
float |
getX()
Returns the center's x
|
float |
getY()
Returns the center's y
|
int |
hashCode() |
protected Component2D |
toComponent2D()
get a Component2D from this object
|
String |
toString() |
create
public XYCircle(float x, float y, float radius)
public float getX()
public float getY()
public float getRadius()
protected Component2D toComponent2D()
XYGeometry
toComponent2D
in class XYGeometry
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.