|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.chart.client.draw.DrawFx
public class DrawFx
Class that provides utility functions for creating sprite animations.
| Constructor Summary | |
|---|---|
DrawFx()
|
|
| Method Summary | |
|---|---|
static Animator |
createCommandsAnimator(PathSprite origin,
List<PathCommand> commands)
Returns an Animator that will animate the given PathSprite
to the given list of PathCommands. |
static Animator |
createDegreesAnimator(Sprite sprite,
double degrees)
Returns an Animator that will animate the given Sprite to
the given degrees of rotation. |
static Animator |
createOpacityAnimator(Sprite sprite,
double opacity)
Returns an Animator that will animate the given Sprite to
the given opacity. |
static Animator |
createRectangleAnimator(RectangleSprite sprite,
PreciseRectangle rectangle)
Returns an Animator that will animate the given
RectangleSprite to the given PreciseRectangle attributes. |
static Animator |
createRotationAnimator(Sprite sprite,
double x,
double y,
double degrees)
Returns an Animator that will animate the given Sprite to
the given rotation. |
static Animator |
createScalingAnimator(Sprite sprite,
Scaling scaling)
Returns an Animator that will animate the given Sprite to
the given Scaling. |
static Animator |
createStrokeWidthAnimator(Sprite sprite,
double strokeWidth)
Returns an Animator that will animate the given Sprite to
the given stroke width. |
static Animator |
createTranslationAnimator(Sprite sprite,
double x,
double y)
Returns an Animator that will animate the given Sprite to
the given Translation coordinates. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DrawFx()
| Method Detail |
|---|
public static Animator createCommandsAnimator(PathSprite origin,
List<PathCommand> commands)
Animator that will animate the given PathSprite
to the given list of PathCommands.
origin - the path spritecommands - the target path commands
public static Animator createDegreesAnimator(Sprite sprite,
double degrees)
Animator that will animate the given Sprite to
the given degrees of rotation.
sprite - the sprite to be animateddegrees - the target degrees of rotation
public static Animator createOpacityAnimator(Sprite sprite,
double opacity)
Animator that will animate the given Sprite to
the given opacity.
sprite - the sprite to be animatedopacity - the target opacity
public static Animator createRectangleAnimator(RectangleSprite sprite,
PreciseRectangle rectangle)
Animator that will animate the given
RectangleSprite to the given PreciseRectangle attributes.
sprite - the rectangle spriterectangle - the target rectangle attributes
public static Animator createRotationAnimator(Sprite sprite,
double x,
double y,
double degrees)
Animator that will animate the given Sprite to
the given rotation.
sprite - the sprite to be animatedx - the target rotation on the x-axisy - the target rotation on the y-axisdegrees - the degrees of rotation
public static Animator createScalingAnimator(Sprite sprite,
Scaling scaling)
Animator that will animate the given Sprite to
the given Scaling.
sprite - the sprite to be animatedscaling - the target scaling
public static Animator createStrokeWidthAnimator(Sprite sprite,
double strokeWidth)
Animator that will animate the given Sprite to
the given stroke width.
sprite - the sprite to be animatedstrokeWidth - the target stroke width
public static Animator createTranslationAnimator(Sprite sprite,
double x,
double y)
Animator that will animate the given Sprite to
the given Translation coordinates.
sprite - the sprite to be animatedx - the target translation x-coordinatey - the target translation y-coordinate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||