Class AWTSVGFont
java.lang.Object
com.github.weisj.jsvg.attributes.font.AWTSVGFont
- All Implemented Interfaces:
SVGFont
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate float[]private floatprivate final @NotNull Fontprivate final FontRenderContextprivate @Nullable LineMetricsprivate float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate float[]float@NotNull GlyphcodepointGlyph(@NotNull String codepoint) private @NotNull GlyphcreateGlyph(char @NotNull [] codepoint) floatfloat@NotNull Stringfamily()@NotNull Fontfont()floatprivate static booleanisPossibleEmoji(char @NotNull [] codepoint) private @NotNull LineMetricsfloatfloatfloatintsize()floatfloat
-
Field Details
-
font
-
frc
-
glyphCache
-
lineMetrics
-
baselineOffsets
private float[] baselineOffsets -
exHeight
private float exHeight -
mathBaseline
private float mathBaseline
-
-
Constructor Details
-
AWTSVGFont
-
-
Method Details
-
font
-
codepointGlyph
- Specified by:
codepointGlyphin interfaceSVGFont
-
family
-
size
-
lineMetrics
-
effectiveExHeight
public float effectiveExHeight()- Specified by:
effectiveExHeightin interfaceSVGFont
-
effectiveEmHeight
public float effectiveEmHeight()- Specified by:
effectiveEmHeightin interfaceSVGFont
-
mathematicalBaseline
public float mathematicalBaseline()- Specified by:
mathematicalBaselinein interfaceSVGFont
-
baselineOffsets
private float[] baselineOffsets() -
hangingBaseline
public float hangingBaseline()- Specified by:
hangingBaselinein interfaceSVGFont
-
romanBaseline
public float romanBaseline()- Specified by:
romanBaselinein interfaceSVGFont
-
centerBaseline
public float centerBaseline()- Specified by:
centerBaselinein interfaceSVGFont
-
middleBaseline
public float middleBaseline()- Specified by:
middleBaselinein interfaceSVGFont
-
textUnderBaseline
public float textUnderBaseline()- Specified by:
textUnderBaselinein interfaceSVGFont
-
textOverBaseline
public float textOverBaseline()- Specified by:
textOverBaselinein interfaceSVGFont
-
createGlyph
-
isPossibleEmoji
private static boolean isPossibleEmoji(char @NotNull [] codepoint)
-