Skip to content

Interface: SSPlacementOptions ​

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

Properties ​

align? ​

optional align?: SSAlign

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

Default center.


fit? ​

optional fit?: SSFit

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

Default contain.


flipX? ​

optional flipX?: boolean

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

The player's own mirrors: alignment follows them, so they are input here.


flipY? ​

optional flipY?: boolean

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


frame? ​

optional frame?: SSPlacementBox

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

The box to fit. Omitted, the animation's authored canvas (InternalPlayerBase.getCanvasRect).