Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ContinuousScaleAnimator<V, X, Y>

Type parameters

Hierarchy

Callable

  • ContinuousScaleAnimator(): null | ContinuousScale<X, Y>
  • ContinuousScaleAnimator(newState: null | string | ContinuousScale<X, Y>, precedenceOrTiming: undefined | number | boolean | AnyTiming): V
  • ContinuousScaleAnimator(newState: null | string | ContinuousScale<X, Y>, timing?: boolean | AnyTiming, precedence?: number): V
  • Returns null | ContinuousScale<X, Y>

  • Parameters

    Returns V

  • Parameters

    Returns V

Index

Constructors

constructor

  • new ContinuousScaleAnimator<V, X, Y>(owner: V, animatorName: undefined | string): ContinuousScaleAnimator<V, X, Y>
  • Type parameters

    Parameters

    • owner: V
    • animatorName: undefined | string

    Returns ContinuousScaleAnimator<V, X, Y>

Properties

Readonly animatorFlags

animatorFlags: number

Readonly inherit

inherit: string | boolean

Readonly interpolator

interpolator: null | Interpolator<null | ContinuousScale<X, Y>>

Readonly name

name: string

Readonly ownLook

ownLook: null | Look<null | ContinuousScale<X, Y>, never>

Readonly ownState

ownState: null | ContinuousScale<X, Y>

Readonly ownValue

ownValue: null | ContinuousScale<X, Y>

Readonly owner

owner: V

Readonly precedence

precedence: number

subAnimators

subAnimators: null | ViewAnimator<View, null | ContinuousScale<X, Y>, never>[]

Readonly superAnimator

superAnimator: null | ViewAnimator<View, null | ContinuousScale<X, Y>, never>

Readonly superLook

superLook: null | Look<null | ContinuousScale<X, Y>, never>

Readonly superName

superName: undefined | string

Readonly superState

superState: undefined | null | ContinuousScale<X, Y>

Readonly superValue

superValue: undefined | null | ContinuousScale<X, Y>

Readonly timing

timing: null | Timing

Optional updateFlags

updateFlags: number

Accessors

look

  • get look(): null | Look<T, never>
  • Returns null | Look<T, never>

state

  • get state(): T
  • Returns T

updatedValue

  • get updatedValue(): undefined | T
  • Returns undefined | T

value

  • get value(): T
  • Returns T

Methods

addSubAnimator

  • Parameters

    Returns void

applyLook

  • Parameters

    Returns void

applyTheme

  • Parameters

    Returns void

bindSuperAnimator

  • bindSuperAnimator(): void
  • Returns void

didMount

  • didMount(): void
  • Returns void

didSetLook

  • Parameters

    Returns void

didSetPrecedence

  • didSetPrecedence(newPrecedence: number, oldPrecedence: number): void
  • Parameters

    • newPrecedence: number
    • oldPrecedence: number

    Returns void

Protected didSetState

  • Parameters

    Returns void

didSetValue

  • Parameters

    Returns void

didStartAnimating

  • didStartAnimating(): void
  • Returns void

didStopAnimating

  • didStopAnimating(): void
  • Returns void

didUnmount

  • didUnmount(): void
  • Returns void

equalState

  • Parameters

    Returns boolean

fromAny

  • Parameters

    Returns null | ContinuousScale<X, Y>

getState

  • Returns ContinuousScale<X, Y>

getStateOr

  • Type parameters

    • E

    Parameters

    • elseState: E

    Returns ContinuousScale<X, Y> | E

getValue

  • Returns ContinuousScale<X, Y>

getValueOr

  • Type parameters

    • E

    Parameters

    • elseValue: E

    Returns ContinuousScale<X, Y> | E

isAnimating

  • isAnimating(): boolean
  • Returns boolean

isDefined

  • Parameters

    Returns boolean

isInherited

  • isInherited(): boolean
  • Returns boolean

isMounted

  • isMounted(): boolean
  • Returns boolean

isUpdated

  • isUpdated(): boolean
  • Returns boolean

mount

  • mount(): void
  • Returns void

onAnimate

  • onAnimate(t: number): void
  • Parameters

    • t: number

    Returns void

onAnimateInherited

  • onAnimateInherited(t: number): void
  • Parameters

    • t: number

    Returns void

onBegin

  • Parameters

    Returns void

onEnd

  • Parameters

    Returns void

onInterrupt

  • Parameters

    Returns void

onMount

  • onMount(): void
  • Returns void

onSetLook

  • Parameters

    Returns void

onSetPrecedence

  • onSetPrecedence(newPrecedence: number, oldPrecedence: number): void
  • Parameters

    • newPrecedence: number
    • oldPrecedence: number

    Returns void

Protected onSetState

  • Parameters

    Returns void

onSetValue

  • Parameters

    Returns void

onStartAnimating

  • onStartAnimating(): void
  • Returns void

onStopAnimating

  • onStopAnimating(): void
  • Returns void

onUnmount

  • onUnmount(): void
  • Returns void

removeSubAnimator

  • Parameters

    Returns void

setAnimatedState

  • Parameters

    Returns void

setAnimatorFlags

  • setAnimatorFlags(animatorFlags: number): void
  • Parameters

    • animatorFlags: number

    Returns void

setBaseDomain

  • setBaseDomain(domain: string | Domain<X>, timing?: boolean | AnyTiming): void
  • setBaseDomain(xMin: X, xMax: X, timing?: boolean | AnyTiming): void
  • Parameters

    Returns void

  • Parameters

    • xMin: X
    • xMax: X
    • Optional timing: boolean | AnyTiming

    Returns void

setBaseRange

  • setBaseRange(range: Range<Y>, timing?: boolean | AnyTiming): void
  • setBaseRange(yMin: Y, yMax: Y, timing?: boolean | AnyTiming): void
  • Parameters

    Returns void

  • Parameters

    • yMin: Y
    • yMax: Y
    • Optional timing: boolean | AnyTiming

    Returns void

setBaseScale

  • setBaseScale(domain: string | Domain<X>, range: Range<Y>, timing?: boolean | AnyTiming): void
  • setBaseScale(xMin: X, xMax: X, yMin: Y, yMax: Y, timing?: boolean | AnyTiming): void
  • Parameters

    Returns void

  • Parameters

    • xMin: X
    • xMax: X
    • yMin: Y
    • yMax: Y
    • Optional timing: boolean | AnyTiming

    Returns void

setDomain

  • setDomain(domain: string | Domain<X>, timing?: boolean | AnyTiming): void
  • setDomain(xMin: X, xMax: X, timing?: boolean | AnyTiming): void
  • Parameters

    Returns void

  • Parameters

    • xMin: X
    • xMax: X
    • Optional timing: boolean | AnyTiming

    Returns void

setImmediateState

  • Parameters

    Returns void

setInherit

  • setInherit(inherit: string | boolean): void
  • Parameters

    • inherit: string | boolean

    Returns void

setInherited

  • setInherited(inherited: boolean): void
  • Parameters

    • inherited: boolean

    Returns void

setIntermediateValue

  • Parameters

    Returns void

setLook

  • Parameters

    Returns void

  • Parameters

    Returns void

setOwnLook

  • Parameters

    Returns void

setOwnState

  • Parameters

    Returns void

setPrecedence

  • setPrecedence(newPrecedence: number): void
  • Parameters

    • newPrecedence: number

    Returns void

setRange

  • setRange(range: Range<Y>, timing?: boolean | AnyTiming): void
  • setRange(yMin: Y, yMax: Y, timing?: boolean | AnyTiming): void
  • Parameters

    Returns void

  • Parameters

    • yMin: Y
    • yMax: Y
    • Optional timing: boolean | AnyTiming

    Returns void

setScale

  • setScale(domain: string | Domain<X>, range: Range<Y>, timing?: boolean | AnyTiming): void
  • setScale(xMin: X, xMax: X, yMin: Y, yMax: Y, timing?: boolean | AnyTiming): void
  • Parameters

    Returns void

  • Parameters

    • xMin: X
    • xMax: X
    • yMin: Y
    • yMax: Y
    • Optional timing: boolean | AnyTiming

    Returns void

setState

  • setState(newState: null | string | ContinuousScale<X, Y>, precedenceOrTiming: undefined | number | boolean | AnyTiming): void
  • setState(newState: null | string | ContinuousScale<X, Y>, timing?: boolean | AnyTiming, precedence?: number): void
  • Parameters

    Returns void

  • Parameters

    Returns void

setValue

  • Parameters

    Returns void

Protected startAnimating

  • startAnimating(): void
  • Returns void

Protected stopAnimating

  • stopAnimating(): void
  • Returns void

takeUpdatedValue

  • Returns undefined | null | ContinuousScale<X, Y>

takeValue

  • Returns null | ContinuousScale<X, Y>

takesPrecedence

  • takesPrecedence(precedence: number): boolean
  • Parameters

    • precedence: number

    Returns boolean

toString

  • toString(): string
  • Returns string

unbindSuperAnimator

  • unbindSuperAnimator(): void
  • Returns void

unmount

  • unmount(): void
  • Returns void

willMount

  • willMount(): void
  • Returns void

willSetLook

  • Parameters

    Returns void

willSetPrecedence

  • willSetPrecedence(newPrecedence: number, oldPrecedence: number): void
  • Parameters

    • newPrecedence: number
    • oldPrecedence: number

    Returns void

Protected willSetState

  • Parameters

    Returns void

willSetValue

  • Parameters

    Returns void

willStartAnimating

  • willStartAnimating(): void
  • Returns void

willStopAnimating

  • willStopAnimating(): void
  • Returns void

willUnmount

  • willUnmount(): void
  • Returns void

Static define

  • Type parameters

    • V_12: View<V_12>

    • T_12

    • U_12 = never

    • I_1 = {}

    Parameters

    Returns ViewAnimatorConstructor<V_12, T_12, U_12, I_1>

  • Type parameters

    • V_13: View<V_13>

    • T_13

    • U_13 = never

    Parameters

    Returns ViewAnimatorConstructor<V_13, T_13, U_13, {}>

Static getClass

  • Parameters

    • type: unknown

    Returns null | ViewAnimatorClass

Generated using TypeDoc