The OpenD Programming Language

MeasurableFont.averageWidth

The average width of glyphs in the font, traditionally equal to the width of the lowercase x. Can be used to estimate bounding boxes, especially if the font isMonospace.

Given in pixels.

interface MeasurableFont
int
averageWidth
()

Meta