Android
public class Glyph(
/** The character(s) this glyph represents. */
public val chars: String,
/** The bitmap for this glyph, or null for a space. */
public val bitmap: ImageBitmap?,
/** The margin in pixels to the left of the glyph bitmap. */
public val marginLeft: Short,
/** The margin in pixels above of the glyph bitmap. */
public val marginTop: Short,
/** The margin in pixels to the right of the glyph bitmap. */
public val marginRight: Short,
/** The margin in pixels below the glyph bitmap. */
public val marginBottom: Short,
/** The width of the glyph, defaults to the bitmap width. */
public val width: Short = bitmap?.width?.toShort() ?: 0,
/** The height of the glyph, defaults to the bitmap height. */
public val height: Short = bitmap?.height?.toShort() ?: 0,
)
A Glyph from a RemoteBitmapFont which may represent one or more characters.