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.
|
element
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.
|
getValue, onCancel, onComplete, onStart
public String style
public double from
public double to
public SingleStyleEffect(XElement el)
public void increase(double value)
public void onUpdate(double progress)
Effect
onUpdate
in interface Effect
onUpdate
in class BaseEffect
progress
- the progress between 0 and 1Copyright © 2018. All rights reserved.