Package icyllis.modernui.graphics.text
Class FontMetricsInt
java.lang.Object
icyllis.modernui.graphics.text.FontMetricsInt
- Direct Known Subclasses:
BoringLayout.Metrics
Also used as Font Extent (just ascent & descent).
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
ascent
public int ascentThe recommended distance above the baseline for singled spaced text. This is always a negative integer. -
descent
public int descentThe recommended distance below the baseline for singled spaced text. This is always a positive integer. -
leading
public int leadingThe recommended additional space to add between lines of text.
-
-
Constructor Details
-
FontMetricsInt
public FontMetricsInt()
-
-
Method Details
-
reset
public void reset() -
extendBy
-
extendBy
public void extendBy(int ascent, int descent) -
extendBy
public void extendBy(int ascent, int descent, int leading) -
equals
-
hashCode
public int hashCode() -
toString
-