Skip to content

Interface: SSPlacement ​

Defined in: packages/ssplayer-core/dist/index.d.ts:3049

Where the animation's origin sits in the view (x, y, from the view's top-left, Y down) and the scale the fit chose. The draw maps p -> origin + scale * p.

Properties ​

scale ​

scale: number

Defined in: packages/ssplayer-core/dist/index.d.ts:3052


x ​

x: number

Defined in: packages/ssplayer-core/dist/index.d.ts:3050


y ​

y: number

Defined in: packages/ssplayer-core/dist/index.d.ts:3051