BitmapGlyphImageType

An interface for dealing with different types of glyph texture types for BitmapProviders.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun findRightBorder(image: T, width: Int, height: Int): Int?

Finds the right border of the given image. The returned value corresponds with the x-coordinate of the first non-empty column from the right side of the image or null if the image is completely empty.

Link copied to clipboard
abstract fun findTopBottomBorders(image: T, width: Int, height: Int): Vector2ic?

Finds the top and bottom borders of the given image. The values in the returned Pair correspond with the y-coordinate of the first non-empty row from the top and bottom side of the image.