Package-level declarations
Types
Link copied to clipboard
class BitmapFont(val fontSize: Float, val lineHeight: Float, val base: Float, val capHeight: Float, val padding: FontMetrics.Padding, val textures: List<Texture>, val glyphs: Map<Int, BitmapFont.Glyph>, val kernings: Map<Int, Kerning>, val pages: Int = 1) : Font
A Font that handles rendering of bitmap fonts using the BMFont text format.
Link copied to clipboard
A FontCache that provides additional render and text methods for a BitmapFont.
Link copied to clipboard
object CharacterSets
Link copied to clipboard
data class ContourPoint(val x: Int = 0, val y: Int = 0, val onCurve: Boolean = false, val lastPointOfContour: Boolean = false)
Link copied to clipboard
An interface for describing and creating fonts in order to render their glyphs.
Link copied to clipboard
data class FontMetrics(val size: Float = 0.0f, val top: Float = 0.0f, val ascent: Float = 0.0f, val baseline: Float = 0.0f, val descent: Float = 0.0f, val bottom: Float = 0.0f, val leading: Float = 0.0f, val maxWidth: Float = 0.0f, val capHeight: Float = 0.0f, val padding: FontMetrics.Padding = Padding(0, 0, 0, 0))
Holds data that describes a Font to be used for rendering glyphs.
Link copied to clipboard
class GlyphLayout
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class TtfGlyph(val name: String?, val index: Int, val xMin: Int, val yMin: Int, val xMax: Int, val yMax: Int, val advanceWidth: Float, val leftSideBearing: Int, var numberOfContours: Int, val unicode: Int, val unicodes: List<Int>, val path: GlyphPath, val endPointIndices: List<Int>, val instructionLength: Int, val instructions: List<Byte>, val points: List<ContourPoint>, val refs: List<GlyphReference>, val isComposite: Boolean, val unitsPerEm: Int)
Link copied to clipboard