Image Entity
PNG/GIF 图片配置;同一图片可按不同 Y 偏移与锚点复用。 PNG/GIF image configuration reusable at different Y offsets and GUI anchors.
Parameters
图片路径或基础名称。 / Image path or basename.
字形高度;宽度按图片比例计算。 / Glyph height; width follows the image aspect ratio.
是否将 GIF 作为动画处理。 / Whether to process a GIF as an animation.
Constructors
Properties
Functions
为纵向偏移预留图片字符。 / Reserves an image glyph for a vertical offset.
构建图片的原始组件;缺少已登记的偏移时返回 null。 Builds the raw image component; returns null if the offset was not registered.
构建已解析的图片组件。 / Builds a parsed image component.
生成当前图片的位图字体提供器列表。 / Produces bitmap-font providers for this image.
生成可选的默认字体符号提供器。 / Builds the optional default-font symbol provider.
实际贴图目录,默认使用用户图片组。 / Actual texture directory, defaulting to the user's image group.
解析实际图片文件,支持内部缓存。 / Resolves the actual image file, including internal caches.