Package com.github.weisj.jsvg.nodes.text
Class TextMetrics
java.lang.Object
com.github.weisj.jsvg.nodes.text.TextMetrics
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private final double
private final int
private final double
private final double
-
Constructor Summary
ConstructorsConstructorDescriptionTextMetrics
(double letterSpacingLength, double visibleCodepointLength, int glyphCount, double fixedGlyphLength, int controllableLetterSpacingCount) -
Method Summary
-
Field Details
-
letterSpacingLength
private final double letterSpacingLength -
glyphLength
private final double glyphLength -
fixedGlyphLength
private final double fixedGlyphLength -
glyphCount
private final int glyphCount -
controllableLetterSpacingCount
private final int controllableLetterSpacingCount
-
-
Constructor Details
-
TextMetrics
public TextMetrics(double letterSpacingLength, double visibleCodepointLength, int glyphCount, double fixedGlyphLength, int controllableLetterSpacingCount)
-
-
Method Details
-
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
-