Glyph

interface Glyph(source)

Glyph representation

Since

0.4.3

Functions

Link copied to clipboard
abstract fun advanceWidth(size: Double): Double
Link copied to clipboard
abstract fun bitmapBounds(size: Double, subpixel: Boolean = true): IntRectangle

Compute the bitmap bounds of the glyph

Link copied to clipboard
abstract fun bounds(size: Double): Rectangle

Compute the glyph bounds in up=+y space

Link copied to clipboard
abstract fun leftSideBearing(size: Double): Double
Link copied to clipboard
abstract fun rasterize(size: Double, bitmap: MPPBuffer, stride: Int, subpixel: Boolean)

Rasterize the glyph at the given size

Link copied to clipboard
abstract fun shape(size: Double): Shape

Generate a Shape for this glyph

Link copied to clipboard
abstract fun topSideBearing(size: Double): Double