UNPKG

playcanvas

Version:

PlayCanvas WebGL game engine

25 lines (24 loc) 485 B
/** * Disable all fitting logic. * * @category User Interface */ export const FITTING_NONE: 0; /** * Stretch child elements to fit the parent container. * * @category User Interface */ export const FITTING_STRETCH: 1; /** * Shrink child elements to fit the parent container. * * @category User Interface */ export const FITTING_SHRINK: 2; /** * Apply both STRETCH and SHRINK fitting logic where applicable. * * @category User Interface */ export const FITTING_BOTH: 3;