Interface FontMetricsMapper

All Superinterfaces:
FontMetrics
All Known Implementing Classes:
CustomFontMetricsMapper, SystemFontMetricsMapper

public interface FontMetricsMapper extends FontMetrics
Adds method to retrieve the actual Font for use by Java2DRenderers.
  • Method Details

    • getFont

      Font getFont(int size)
      Gets a Font instance of the font that this FontMetrics describes in the desired size.
      Parameters:
      size - font size
      Returns:
      font with the desired characteristics.