Skip to content

Interface: SSPlacementOptions ​

Defined in: src/Placement.ts:34

Properties ​

align? ​

optional align?: SSAlign

Defined in: src/Placement.ts:38

Default center.


fit? ​

optional fit?: SSFit

Defined in: src/Placement.ts:36

Default contain.


flipX? ​

optional flipX?: boolean

Defined in: src/Placement.ts:45

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


flipY? ​

optional flipY?: boolean

Defined in: src/Placement.ts:46


frame? ​

optional frame?: SSPlacementBox

Defined in: src/Placement.ts:43

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