awayjs-display
Version:
AwayJS displaylist classes
34 lines (33 loc) • 827 B
TypeScript
import AssetBase from "awayjs-core/lib/library/AssetBase";
import FontTable from "../text/TesselatedFontTable";
/**
* GraphicBase wraps a TriangleElements as a scene graph instantiation. A GraphicBase is owned by a Sprite object.
*
*
* @see away.base.TriangleElements
* @see away.entities.Sprite
*
* @class away.base.GraphicBase
*/
declare class Font extends AssetBase {
static assetType: string;
private _font_styles;
/**
* Creates a new TesselatedFont object
*/
constructor();
readonly font_styles: Array<FontTable>;
/**
*
*/
readonly assetType: string;
/**
*
*/
dispose(): void;
/**
*Get a font-table for a specific name, or create one if it does not exists.
*/
get_font_table(style_name: string): FontTable;
}
export default Font;