Package com.metsci.glimpse.core.support.font
Font and text utility classes.
-
Class Summary Class Description FontUtils Utilities for loading default Glimpse fonts.SimpleTextLayout Performs simple text layout so text can be wrapped in small areas or broken on words or newlines.SimpleTextLayout.TextBoundingBox When drawing using the JOGLTextRenderer
, theSimpleTextLayout.TextBoundingBox.leftX
andSimpleTextLayout.TextBoundingBox.baselineY
should be used as the text origin.SimpleTextLayoutCenter Lays out the text, centering along the horizontal and vertical axis.