类 SmoothTiming


  • public class SmoothTiming
    extends java.lang.Object
    This Timing ramps up smoothly from 0 to 1 in a given time interval.
    • 构造器概要

      构造器 
      构造器 说明
      SmoothTiming​(long fromTime, long toTime)
      Creates a new SmoothTiming.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      double getTiming​(long time)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • SmoothTiming

        public SmoothTiming​(long fromTime,
                            long toTime)
        Creates a new SmoothTiming.
        参数:
        fromTime - the time at which the timing starts ramping up from 0.
        toTime - the time at which the timing stops ramping up at 1.
    • 方法详细资料

      • getTiming

        public double getTiming​(long time)