Package com.adobe.fontengine.font
Class LineMetrics
- java.lang.Object
-
- com.adobe.fontengine.font.LineMetrics
-
public final class LineMetrics extends java.lang.Object
The line metrics of a font. These are the values recommended by the font designer for typographic ascender, typographic descender and line gap.Synchronization
These objects are immutable.
-
-
Constructor Summary
Constructors Constructor Description LineMetrics(double ascender, double descender, double linegap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
hashCode()
LineMetrics
toDesignSpace(double unitsPerEmX, double unitsPerEmY)
LineMetrics
toEmSpace(double unitsPerEmX, double unitsPerEmY)
java.lang.String
toString()
-
-
-
Method Detail
-
toEmSpace
public LineMetrics toEmSpace(double unitsPerEmX, double unitsPerEmY)
-
toDesignSpace
public LineMetrics toDesignSpace(double unitsPerEmX, double unitsPerEmY)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-