@drincs/pixi-vn
Version:
Pixi'VN is a npm package that provides various features for creating visual novels.
12 lines (9 loc) • 404 B
text/typescript
import { Texture, TextStyle, TextStyleOptions } from 'pixi.js';
/**
* Get a texture from a url.
* @param textureAlias is the url of the file.
* @returns the texture of the image or video, or a text with the error.
*/
declare function getTexture(textureAlias?: string): Promise<Texture | void>;
declare function getTextStyle(style: TextStyle): TextStyleOptions;
export { getTextStyle, getTexture };