---
url: https://cri-middleware.github.io/SSPlayerForWeb/api/@spritestudio/ssplayer-pixi/interfaces/SSPlacementOptions.md
---
# Interface: SSPlacementOptions

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

## Properties

### align?

> `optional` **align?**: [`SSAlign`](../type-aliases/SSAlign.md)

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

Default `center`.

***

### fit?

> `optional` **fit?**: [`SSFit`](../type-aliases/SSFit.md)

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`](SSPlacementBox.md)

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

The box to fit. Omitted, the animation's authored canvas
([InternalPlayerBase.getCanvasRect](../classes/InternalPlayerBase.md#getcanvasrect)).
