---
url: https://cri-middleware.github.io/SSPlayerForWeb/api/@spritestudio/ssplayer-pixi-ui/type-aliases/SSFit.md
---
# Type Alias: SSFit

> **SSFit** = `"contain"` | `"cover"` | `"none"`

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

How the box is scaled to the view — `<img>`'s `object-fit` words. `none` is no
fit at all: scale 1, origin at the view's centre.
