Constructor and Description |
---|
Point()
Default constructor.
|
Point(float time,
java.lang.Object value,
java.lang.String formula)
Create animation point with time, value and formula.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFormula()
Formulas within values, from, to, by attributes can be made up of these:
Standard arithmetic operators: ‘+’, ‘-‘, ‘*’, ‘/’, ‘^’, ‘%’ (mod)
Constants: ‘pi’ ‘e’
Conditional operators: ‘abs’, ‘min’, ‘max’, ‘?’ (if)
Comparison operators: '==', '>=', '', '!=', '!'
Trigonometric operators: ‘sin()’, ‘cos()’, ‘tan()’, ‘asin()’, ‘acos()’, ‘atan()’
Natural logarithm ‘ln()’
Property references (host supported properties)
for example: "#ppt_x+(cos(-2*pi*(1-$))*-#ppt_x-sin(-2*pi*(1-$))*(1-#ppt_y))*(1-$)"
Read/write
String . |
float |
getTime()
Represents time value.
|
java.lang.Object |
getValue()
Represents point value.
|
void |
setFormula(java.lang.String value)
Formulas within values, from, to, by attributes can be made up of these:
Standard arithmetic operators: ‘+’, ‘-‘, ‘*’, ‘/’, ‘^’, ‘%’ (mod)
Constants: ‘pi’ ‘e’
Conditional operators: ‘abs’, ‘min’, ‘max’, ‘?’ (if)
Comparison operators: '==', '>=', '', '!=', '!'
Trigonometric operators: ‘sin()’, ‘cos()’, ‘tan()’, ‘asin()’, ‘acos()’, ‘atan()’
Natural logarithm ‘ln()’
Property references (host supported properties)
for example: "#ppt_x+(cos(-2*pi*(1-$))*-#ppt_x-sin(-2*pi*(1-$))*(1-#ppt_y))*(1-$)"
Read/write
String . |
void |
setTime(float value)
Represents time value.
|
void |
setValue(java.lang.Object value)
Represents point value.
|
public Point()
Default constructor.
public Point(float time, java.lang.Object value, java.lang.String formula)
Create animation point with time, value and formula.
time
- Time value.value
- Point value.formula
- Formula.public final float getTime()
Represents time value.
Read/write float
.
public final void setTime(float value)
Represents time value.
Read/write float
.
public final java.lang.Object getValue()
Represents point value.
Only: bool, ColorFormat, float, int, string.
Read/write Object
.
public final void setValue(java.lang.Object value)
Represents point value.
Only: bool, ColorFormat, float, int, string.
Read/write Object
.
public final java.lang.String getFormula()
Formulas within values, from, to, by attributes can be made up of these:
Standard arithmetic operators: ‘+’, ‘-‘, ‘*’, ‘/’, ‘^’, ‘%’ (mod)
Constants: ‘pi’ ‘e’
Conditional operators: ‘abs’, ‘min’, ‘max’, ‘?’ (if)
Comparison operators: '==', '>=', '', '!=', '!'
Trigonometric operators: ‘sin()’, ‘cos()’, ‘tan()’, ‘asin()’, ‘acos()’, ‘atan()’
Natural logarithm ‘ln()’
Property references (host supported properties)
for example: "#ppt_x+(cos(-2*pi*(1-$))*-#ppt_x-sin(-2*pi*(1-$))*(1-#ppt_y))*(1-$)"
Read/write String
.
getFormula
in interface IPoint
public final void setFormula(java.lang.String value)
Formulas within values, from, to, by attributes can be made up of these:
Standard arithmetic operators: ‘+’, ‘-‘, ‘*’, ‘/’, ‘^’, ‘%’ (mod)
Constants: ‘pi’ ‘e’
Conditional operators: ‘abs’, ‘min’, ‘max’, ‘?’ (if)
Comparison operators: '==', '>=', '', '!=', '!'
Trigonometric operators: ‘sin()’, ‘cos()’, ‘tan()’, ‘asin()’, ‘acos()’, ‘atan()’
Natural logarithm ‘ln()’
Property references (host supported properties)
for example: "#ppt_x+(cos(-2*pi*(1-$))*-#ppt_x-sin(-2*pi*(1-$))*(1-#ppt_y))*(1-$)"
Read/write String
.
setFormula
in interface IPoint