Skip to content

Type Alias: SsFit ​

SsFit = "contain" | "cover" | "none"

Defined in: packages/react-native-spritestudio/src/core/fit.ts:11

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.