Class

RemoteBitmapFont.Glyph

A Glyph from a RemoteBitmapFont which may represent one or more characters.

Source set: JvmAndAndroid
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: RemoteImageBitmap?,

        /** 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 in pixels. */
        public val width: Short = 0,

        /** The height of the glyph in pixels. */
        public val height: Short = 0,
    )

A Glyph from a RemoteBitmapFont which may represent one or more characters.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: