Package solar.squares.pixelwidth
Pixel width calculation of in game characters.
-
Interface Summary Interface Description CharacterWidthFunction A function that takes a character(represented by its UTF-16 codepoint) and aStyleand returns the characters width as anint.ContextualPixelWidthSource<CX> A source able to return the width of text with the usage ofCharacterWidthFunctions and a contextCX.PixelWidthSource A source able to return the width of text with the usage ofCharacterWidthFunctions. -
Class Summary Class Description DefaultCharacterWidthFunction Generated with MinecraftFontPixelWidth.