ImageEntity

constructor(path: String = "", height: Int = 0, symbol: String? = null, ascent: Int = 0, animation: Boolean = false, duration: Double = 1.0)(source)

Parameters

path

图片路径或基础名称。 / Image path or basename.

height

字形高度;宽度按图片比例计算。 / Glyph height; width follows the image aspect ratio.

animation

是否将 GIF 作为动画处理。 / Whether to process a GIF as an animation.