Class AWTSVGFont
java.lang.Object
com.github.weisj.jsvg.attributes.font.AWTSVGFont
- All Implemented Interfaces:
SVGFont
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate float[]
private float
private final @NotNull Font
private final FontRenderContext
private @Nullable LineMetrics
private float
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate float[]
float
@NotNull Glyph
codepointGlyph
(char codepoint) private @NotNull Glyph
createGlyph
(char codepoint) float
float
@NotNull String
family()
float
private @NotNull LineMetrics
float
float
float
int
size()
float
float
-
Field Details
-
font
-
frc
-
glyphCache
-
lineMetrics
-
baselineOffsets
private float[] baselineOffsets -
exHeight
private float exHeight -
mathBaseline
private float mathBaseline
-
-
Constructor Details
-
AWTSVGFont
-
-
Method Details
-
codepointGlyph
- Specified by:
codepointGlyph
in interfaceSVGFont
-
family
-
size
public int size() -
lineMetrics
-
effectiveExHeight
public float effectiveExHeight()- Specified by:
effectiveExHeight
in interfaceSVGFont
-
effectiveEmHeight
public float effectiveEmHeight()- Specified by:
effectiveEmHeight
in interfaceSVGFont
-
mathematicalBaseline
public float mathematicalBaseline()- Specified by:
mathematicalBaseline
in interfaceSVGFont
-
baselineOffsets
private float[] baselineOffsets() -
hangingBaseline
public float hangingBaseline()- Specified by:
hangingBaseline
in interfaceSVGFont
-
romanBaseline
public float romanBaseline()- Specified by:
romanBaseline
in interfaceSVGFont
-
centerBaseline
public float centerBaseline()- Specified by:
centerBaseline
in interfaceSVGFont
-
middleBaseline
public float middleBaseline()- Specified by:
middleBaseline
in interfaceSVGFont
-
textUnderBaseline
public float textUnderBaseline()- Specified by:
textUnderBaseline
in interfaceSVGFont
-
textOverBaseline
public float textOverBaseline()- Specified by:
textOverBaseline
in interfaceSVGFont
-
createGlyph
-