| The backend for a
Layouter . An object satisfying this
interface can act as a receiver for the layed out text produced by
a
Layouter . A Backend must also provide the
maximum line width available through the
Backend.lineWidth() method. Finally, it is responsible for calculating (with
Backend.measure(String) the amount of space it actually needs to print a
given string. For instance, if strings printed through a
Layouter are actually known to be in HTML,
Backend.measure(String) can return the size of the text, not including
markup.
There is currently no provision to handle proportional fonts,
and there might never be.
author: Martin Giese See Also: Layouter |