Package com.github.weisj.jsvg.nodes.text
Class TextMetrics
- java.lang.Object
-
- com.github.weisj.jsvg.nodes.text.TextMetrics
-
public final class TextMetrics extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private int
controllableLetterSpacingCount
private double
fixedGlyphLength
private int
glyphCount
private double
glyphLength
private double
letterSpacingLength
-
Constructor Summary
Constructors Constructor Description TextMetrics(double letterSpacingLength, double visibleCodepointLength, int glyphCount, double fixedGlyphLength, int controllableLetterSpacingCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
controllableLetterSpacingCount()
double
fixedGlyphLength()
int
glyphCount()
double
glyphLength()
double
letterSpacingLength()
java.lang.String
toString()
double
totalAdjustableLength()
-
-
-
Method Detail
-
letterSpacingLength
public double letterSpacingLength()
-
glyphLength
public double glyphLength()
-
fixedGlyphLength
public double fixedGlyphLength()
-
totalAdjustableLength
public double totalAdjustableLength()
-
glyphCount
public int glyphCount()
-
controllableLetterSpacingCount
public int controllableLetterSpacingCount()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-