---
url: https://cri-middleware.github.io/SSPlayerForReactNative/api/type-aliases/SsFit.md
---
# Type Alias: SsFit

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

Defined in: [packages/react-native-spritestudio/src/core/fit.ts:11](https://github.com/cri-middleware/SSPlayerForReactNative/blob/ddb0878ad347fd4a411e4e2eb0829a948cb07ff8/packages/react-native-spritestudio/src/core/fit.ts#L11)

How the content box is scaled to the view — `<Image resizeMode>`'s vocabulary,
because it is the one an RN caller already has.

`none` places no fit: scale 1, origin at the view's centre, and the caller
supplies `offset`/`scale` themselves.
