Package com.kitfox.svg.animation
Class TimeSum
- java.lang.Object
-
- com.kitfox.svg.animation.TimeBase
-
- com.kitfox.svg.animation.TimeSum
-
public class TimeSum extends TimeBase
This is a time that represents a specific number of milliseconds
-
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
add
(package private) TimeBase
t1
(package private) TimeBase
t2
-
Fields inherited from class com.kitfox.svg.animation.TimeBase
matchIndefinite, matchUnitTime
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
evalTime()
Calculates the (greater than or equal to 0) time in seconds this time represents.void
setParentElement(AnimationElement ele)
Some time elements need to refer to the animation element that contains them to evaluate correctly-
Methods inherited from class com.kitfox.svg.animation.TimeBase
parseTimeComponent
-
-
-
-
Method Detail
-
evalTime
public double evalTime()
Description copied from class:TimeBase
Calculates the (greater than or equal to 0) time in seconds this time represents. If the time cannot be determined, returns Double.NaN. If this represents an infinte amount of time, returns Double.POSITIVE_INFINITY.
-
setParentElement
public void setParentElement(AnimationElement ele)
Description copied from class:TimeBase
Some time elements need to refer to the animation element that contains them to evaluate correctly- Overrides:
setParentElement
in classTimeBase
-
-