Font.getBBox

Gets the bounding box of the font.

class Font
getBBox
()

Return Value

Type: Rect

On success, returns Rect struct specifying the font bounding box. Otherwise, returns a HaruBox struct of {0, 0, 0, 0}.

Meta