|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfi.hut.tml.xsmiles.mlfc.smil.extension.AnimatedPairValue
Animated Pair Value, animates values in format "(x, y)"
| Constructor Summary | |
AnimatedPairValue(float xx,
float yy)
|
|
AnimatedPairValue(java.lang.String str)
|
|
| Method Summary | |
AnimatedValue |
add(AnimatedValue val)
Add val to this. |
void |
clampValue()
|
float |
distance(AnimatedValue val)
Calculates the distance between this and val. |
float |
getX()
|
float |
getY()
|
AnimatedValue |
interpolate(AnimatedValue val,
float t)
Interpolate between this and val by t, where t is [0,1]. |
AnimatedValue |
mult(int integer)
Multiply this by integer value. |
static AnimatedPairValue |
parse(java.lang.String str)
Parse this string into value. |
java.lang.String |
toString()
Parse this string into value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AnimatedPairValue(float xx,
float yy)
public AnimatedPairValue(java.lang.String str)
| Method Detail |
public static AnimatedPairValue parse(java.lang.String str)
str - String to be parsed
public float getX()
public float getY()
public java.lang.String toString()
AnimatedValue
toString in interface AnimatedValuepublic void clampValue()
clampValue in interface AnimatedValuepublic AnimatedValue add(AnimatedValue val)
add in interface AnimatedValueval - Val to be added to this.
public AnimatedValue mult(int integer)
mult in interface AnimatedValueinteger - Pair value
public AnimatedValue interpolate(AnimatedValue val,
float t)
interpolate in interface AnimatedValueval - AnimatedPairValue
public float distance(AnimatedValue val)
distance in interface AnimatedValueval - AnimatedPairValue
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||