|
||||||||||
| 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.CircleSprite
public class CircleSprite
A Sprite that represents a circle.
| Constructor Summary | |
|---|---|
CircleSprite()
Creates a circle with no values. |
|
CircleSprite(CircleSprite sprite)
Creates a copy of the given circle. |
|
CircleSprite(double radius)
Creates a circle with the given radius. |
|
CircleSprite(double radius,
double centerX,
double centerY)
Creates a circle with the given radius and center coordinates. |
|
| Method Summary | |
|---|---|
void |
clearDirtyFlags()
Clears all of the dirty flags on the sprite. |
CircleSprite |
copy()
Returns a copy of the sprite. |
double |
getCenterX()
Returns the center x-coordinate of the circle. |
double |
getCenterY()
Returns the center y-coordinate of the circle. |
PathSprite |
getPathSprite()
Returns the Sprite as a path. |
double |
getRadius()
Returns the radius of the circle. |
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 |
isRadiusDirty()
Returns true if the radius changed since the last render. |
void |
setCenterX(double centerX)
Sets the center x-coordinate of the circle. |
void |
setCenterY(double centerY)
Sets the center y-coordinate of the circle. |
void |
setRadius(double radius)
Sets the radius of the circle. |
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 CircleSprite()
public CircleSprite(CircleSprite sprite)
sprite - the sprite to be copiedpublic CircleSprite(double radius)
radius - the radius of the circle
public CircleSprite(double radius,
double centerX,
double centerY)
radius - the radius of the circlecenterX - the center x-coordinate of the circlecenterY - the center y-coordinate of the circle| Method Detail |
|---|
public void clearDirtyFlags()
Sprite
clearDirtyFlags in class Spritepublic CircleSprite copy()
Sprite
copy in class Spritepublic double getCenterX()
public double getCenterY()
public PathSprite getPathSprite()
SpriteSprite as a path.
getPathSprite in class Spritepublic double getRadius()
public boolean isCenterXDirty()
public boolean isCenterYDirty()
public boolean isDirty()
Sprite
isDirty in class Spritepublic boolean isRadiusDirty()
public void setCenterX(double centerX)
centerX - the center x-coordinate of the circlepublic void setCenterY(double centerY)
centerY - the center y-coordinate of the circlepublic void setRadius(double radius)
radius - the radius of the circlepublic 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 | |||||||||