playcanvas
Version:
PlayCanvas WebGL game engine
43 lines (42 loc) • 993 B
TypeScript
/**
* A {@link ElementComponent} that contains child {@link ElementComponent}s.
*
* @type {string}
* @category User Interface
*/
export const ELEMENTTYPE_GROUP: string;
/**
* A {@link ElementComponent} that displays an image.
*
* @type {string}
* @category User Interface
*/
export const ELEMENTTYPE_IMAGE: string;
/**
* A {@link ElementComponent} that displays text.
*
* @type {string}
* @category User Interface
*/
export const ELEMENTTYPE_TEXT: string;
/**
* Fit the content exactly to Element's bounding box.
*
* @type {string}
* @category User Interface
*/
export const FITMODE_STRETCH: string;
/**
* Fit the content within the Element's bounding box while preserving its Aspect Ratio.
*
* @type {string}
* @category User Interface
*/
export const FITMODE_CONTAIN: string;
/**
* Fit the content to cover the entire Element's bounding box while preserving its Aspect Ratio.
*
* @type {string}
* @category User Interface
*/
export const FITMODE_COVER: string;