Maven module :un.api : api-display :
Class : un.engine.painter2d.AbstractFontMetadata
Extends/Implements : un.engine.painter2d.FontMetadata
Subclasses : -

Default font metadata.
author  Johann Sorel


Variables : glyphBox, ascent, descent, lineGap, advanceWidthMax, minLeftSideBearing, minRightSideBearing, xMaxExtent
Functions : AbstractFontMetadata, AbstractFontMetadata, getGlyphBox, setGlyphBox, getAscent, setAscent, getDescent, setDescent, getLineGap, setLineGap, getAdvanceWidthMax, setAdvanceWidthMax, getMinLeftSideBearing, setMinLeftSideBearing, getMinRightSideBearing, setMinRightSideBearing, getXMaxExtent, setxMaxExtent, getAdvanceWidth, getCharBox, getCharsBox, derivate


protected BBox glyphBox

protected double ascent

protected double descent

protected double lineGap

protected double advanceWidthMax

protected double minLeftSideBearing

protected double minRightSideBearing

protected double xMaxExtent


public void AbstractFontMetadata ()

public void AbstractFontMetadata (FontMetadata meta)

public BBox getGlyphBox ()

public void setGlyphBox (BBox glyphBox)

public double getAscent ()

public void setAscent (double ascent)

public double getDescent ()

public void setDescent (double descent)

public double getLineGap ()

public void setLineGap (double lineGap)

public double getAdvanceWidthMax ()

public void setAdvanceWidthMax (double advanceWidthMax)

public double getMinLeftSideBearing ()

public void setMinLeftSideBearing (double minLeftSideBearing)

public double getMinRightSideBearing ()

public void setMinRightSideBearing (double minRightSideBearing)

public double getXMaxExtent ()

public void setxMaxExtent (double xMaxExtent)

public double getAdvanceWidth (Char c)

public BBox getCharBox (Char c)

public BBox getCharsBox (CharArray text)

public FontMetadata derivate (double fontSize)