public class SingleStyleEffect extends BaseEffect
| Modifier and Type | Field and Description |
|---|---|
double |
from
The start value.
|
String |
style
The css style be adjusted.
|
double |
to
The end value.
|
| Constructor and Description |
|---|
SingleStyleEffect(XElement el) |
SingleStyleEffect(XElement el,
String style,
double from,
double to) |
| Modifier and Type | Method and Description |
|---|---|
void |
increase(double value) |
void |
onUpdate(double progress)
Fires after the effect is updated.
|
onCancel, onComplete, onStartpublic String style
public double from
public double to
public SingleStyleEffect(XElement el)
public void increase(double value)
public void onUpdate(double progress)
EffectonUpdate in interface EffectonUpdate in class BaseEffectprogress - the progress between 0 and 1Copyright © 2012. All Rights Reserved.