|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectalgoanim.primitives.Primitive
algoanim.primitives.Ellipse
public class Ellipse
Represents an ellipse defined by a center and a radius.
| Field Summary |
|---|
| Fields inherited from class algoanim.primitives.Primitive |
|---|
gen |
| Constructor Summary | |
|---|---|
Ellipse(EllipseGenerator eg,
Node aCenter,
Node aRadius,
java.lang.String name,
DisplayOptions display,
EllipseProperties ep)
Instantiates the Ellipse and calls the create() method of
the associated EllipseGenerator. |
|
| Method Summary | |
|---|---|
Node |
getCenter()
Returns the center of this Ellipse. |
EllipseProperties |
getProperties()
Returns the properties of this Ellipse. |
Node |
getRadius()
Returns the radius of this Ellipse. |
void |
setName(java.lang.String newName)
Sets the name of this Primitive. |
| Methods inherited from class algoanim.primitives.Primitive |
|---|
changeColor, exchange, getDisplayOptions, getName, hide, hide, moveBy, moveTo, moveVia, rotate, rotate, show, show |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Ellipse(EllipseGenerator eg,
Node aCenter,
Node aRadius,
java.lang.String name,
DisplayOptions display,
EllipseProperties ep)
Ellipse and calls the create() method of
the associated EllipseGenerator.
eg - the appropriate code Generator.aCenter - the center of this Ellipse.aRadius - the radius of this Ellipse.name - the name of this Ellipse.display - [optional] the DisplayOptions of this
Ellipse.ep - [optional] the properties of this Ellipse.| Method Detail |
|---|
public Node getCenter()
Ellipse.
Ellipse.public EllipseProperties getProperties()
Ellipse.
Ellipse.public Node getRadius()
Ellipse.
Ellipse.public void setName(java.lang.String newName)
PrimitivePrimitive.
setName in class PrimitivenewName - the new name for this Primitive.Primitive.setName(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||