Types
Animation[T] = ref object enabled*: Property[bool] = property(true) running*: Property[bool] duration*: Property[Duration] action*: proc (x: T) easing*: Property[proc (x: float): float] a*, b*: Property[T] loop*: Property[bool] ended*: Event[void] currentTime*: Property[Duration]
- Source Edit
UiAnimator {....deprecated: "use Animator instead".} = Animator
- Source Edit
Procs
proc clearTransition(prop: var AnyProperty)
- Source Edit
proc currentValue[T](a: Animation[T]): T
- Source Edit
proc inBounceEasing(x: float): float {....raises: [], tags: [], forbids: [].}
- Source Edit
proc inCubicEasing(x: float): float {....raises: [], tags: [], forbids: [].}
- Source Edit
proc initIfNeeded(a: Animation)
- Source Edit
proc inSquareEasing(x: float): float {....raises: [], tags: [], forbids: [].}
- Source Edit
func interpolate[T: array](a, b: T; x: float): T
- Source Edit
func interpolate[T: enum | bool](a, b: T; x: float): T
- Source Edit
func interpolate[T: object | tuple](a, b: T; x: float): T
- Source Edit
func interpolate[T: SomeFloat](a, b: T; x: float): T
- Source Edit
func interpolate[T: SomeInteger](a, b: T; x: float): T
- Source Edit
proc linearEasing(x: float): float {....raises: [], tags: [], forbids: [].}
- Source Edit
proc markCompleted(obj: Animation)
- Source Edit
proc outBounceEasing(x: float): float {....raises: [], tags: [], forbids: [].}
- Source Edit
proc outCubicEasing(x: float): float {....raises: [], tags: [], forbids: [].}
- Source Edit
proc outSquareEasing(x: float): float {....raises: [], tags: [], forbids: [].}
- Source Edit
proc parentAnimator(obj: Uiobj): Animator {....raises: [], tags: [], forbids: [].}
- Source Edit
Methods
method connectFirstHandHandlers(this`gensym3: Animator) {....raises: [], tags: [], forbids: [].}
- Source Edit
method shouldAutoredraw(this`gensym4: Animator): bool {....raises: [], tags: [], forbids: [].}
- Source Edit
Templates
template transition[T](prop: var AnyProperty[T]; dur: Duration): Animation[T]
- Source Edit