示例#1
0
 public Builder then(FadedHandler handler) {
   fader.handler = handler;
   return this;
 }
示例#2
0
 public Builder every(int millis) {
   fader.period = millis;
   return this;
 }
示例#3
0
 public Builder by(double step) {
   fader.step = step;
   return this;
 }
示例#4
0
 public Builder to(double to) {
   fader.to = Math.max(to, 0);
   return this;
 }
示例#5
0
 public Builder from(double from) {
   fader.from = Math.min(from, 1);
   return this;
 }
示例#6
0
 public FadeAnimation start() {
   fader.start();
   return fader;
 }