Skip to main content

Interface: ScaleOptions

Defined in: src/animation/movement/Scale.ts:10

Extends​

Properties​

aboutEdge?​

optional aboutEdge: Vector3Tuple

Defined in: src/animation/movement/Scale.ts:16

Edge to scale about, resolved via bounding box. Mutually exclusive with aboutPoint.


aboutPoint?​

optional aboutPoint: Vector3Tuple

Defined in: src/animation/movement/Scale.ts:14

Point to scale about, defaults to mobject center


duration?​

optional duration: number

Defined in: src/animation/Animation.ts:16

Duration of the animation in seconds (default: 1)

Inherited from​

AnimationOptions.duration


rateFunc?​

optional rateFunc: RateFunction

Defined in: src/animation/Animation.ts:18

Rate function controlling the animation's pacing (default: smooth)

Inherited from​

AnimationOptions.rateFunc


scaleFactor​

scaleFactor: number | Vector3Tuple

Defined in: src/animation/movement/Scale.ts:12

Scale factor: number for uniform scale, tuple for per-axis scale


shift?​

optional shift: [number, number, number]

Defined in: src/animation/Animation.ts:20

Shift direction for fade animations

Inherited from​

AnimationOptions.shift