|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.chart.client.draw.sprite.Sprite
com.sencha.gxt.chart.client.draw.sprite.EllipseSprite
public class EllipseSprite
A Sprite that represents an ellipse.
| Constructor Summary | |
|---|---|
EllipseSprite()
Creates an ellipse with no values. |
|
EllipseSprite(double radiusX,
double radiusY)
Creates an ellipse with the given radii. |
|
EllipseSprite(double radiusX,
double radiusY,
double centerX,
double centerY)
Creates an ellipse with the given radii and center coordinates. |
|
EllipseSprite(EllipseSprite sprite)
Creates a copy of the given ellipse. |
|
| Method Summary | |
|---|---|
void |
clearDirtyFlags()
Clears all of the dirty flags on the sprite. |
EllipseSprite |
copy()
Returns a copy of the sprite. |
double |
getCenterX()
Returns the center x-coordinate of the ellipse. |
double |
getCenterY()
Returns the center y-coordinate of the ellipse. |
PathSprite |
getPathSprite()
Returns the Sprite as a path. |
double |
getRadiusX()
Returns the radius of the ellipse on its x-axis. |
double |
getRadiusY()
Returns the radius of the ellipse on its y-axis. |
boolean |
isCenterXDirty()
Returns true if the center x changed since the last render. |
boolean |
isCenterYDirty()
Returns true if the center y changed since the last render. |
boolean |
isDirty()
Returns true if the sprite changed since the last render. |
boolean |
isRadiusXDirty()
Returns true if the radius x changed since the last render. |
boolean |
isRadiusYDirty()
Returns true if the radius y changed since the last render. |
void |
setCenterX(double centerX)
Sets the center x-coordinate of the ellipse. |
void |
setCenterY(double centerY)
Sets the center y-coordinate of the ellipse. |
void |
setRadiusX(double radiusX)
Sets the radius of the ellipse on its x-axis. |
void |
setRadiusY(double radiusY)
Sets the radius of the ellipse on its y-axis. |
void |
update(Sprite sprite)
Updates the attributes of the sprite using the given sprite. |
| Methods inherited from class com.sencha.gxt.chart.client.draw.sprite.Sprite |
|---|
getBBox, getClipRectangle, getComponent, getFill, getFillOpacity, getOpacity, getRotation, getScaling, getStroke, getStrokeOpacity, getStrokeWidth, getSurface, getTranslation, getzIndex, isClipRectangleDirty, isFillDirty, isFillOpacityDirty, isHidden, isHiddenDirty, isOpacityDirty, isStrokeDirty, isStrokeOpacityDirty, isStrokeWidthDirty, isTransformDirty, isZIndexDirty, redraw, remove, setClipRectangle, setComponent, setCursor, setFill, setFillOpacity, setHidden, setOpacity, setRotation, setRotation, setRotation, setScaling, setScaling, setScaling, setStroke, setStrokeOpacity, setStrokeWidth, setSurface, setTranslation, setTranslation, setZIndex, transformMatrix |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EllipseSprite()
public EllipseSprite(double radiusX,
double radiusY)
radiusX - the radius of the ellipse on its x-axisradiusY - the radius of the ellipse on its y-axis
public EllipseSprite(double radiusX,
double radiusY,
double centerX,
double centerY)
radiusX - the radius of the ellipse on its x-axisradiusY - the radius of the ellipse on its y-axiscenterX - the center x-coordinate of the ellipsecenterY - the center y-coordinate of the ellipsepublic EllipseSprite(EllipseSprite sprite)
sprite - the sprite to be copied| Method Detail |
|---|
public void clearDirtyFlags()
Sprite
clearDirtyFlags in class Spritepublic EllipseSprite copy()
Sprite
copy in class Spritepublic double getCenterX()
public double getCenterY()
public PathSprite getPathSprite()
SpriteSprite as a path.
getPathSprite in class Spritepublic double getRadiusX()
public double getRadiusY()
public boolean isCenterXDirty()
public boolean isCenterYDirty()
public boolean isDirty()
Sprite
isDirty in class Spritepublic boolean isRadiusXDirty()
public boolean isRadiusYDirty()
public void setCenterX(double centerX)
centerX - the center x-coordinate of the ellipsepublic void setCenterY(double centerY)
centerY - the center y-coordinate of the ellipsepublic void setRadiusX(double radiusX)
radiusX - the radius of the ellipse on its x-axis.public void setRadiusY(double radiusY)
radiusY - the radius of the ellipse on its y-axis.public void update(Sprite sprite)
Sprite
update in class Spritesprite - the sprite attributes to use
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||