Class GlyphRenderer
java.lang.Object
com.github.weisj.jsvg.nodes.text.GlyphRenderer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static floatcomputeBaselineOffset(@NotNull SVGFont font, @NotNull FontRenderContext fontRenderContext) (package private) static @NotNull GlyphRunlayoutGlyphRun(@NotNull StringTextSegment segment, @NotNull GlyphCursor cursor, @NotNull SVGFont font, @NotNull RenderContext context, @NotNull TextOutput textOutput) (package private) static voidprepareGlyphRun(@NotNull StringTextSegment segment, @NotNull GlyphCursor cursor, @NotNull SVGFont font, @NotNull RenderContext context, @NotNull TextOutput textOutput) (package private) static voidrenderGlyphRun(@NotNull Output output, @NotNull PaintOrder paintOrder, @NotNull Set<VectorEffect> vectorEffects, @NotNull StringTextSegment segment)
-
Field Details
-
DEBUG
private static final boolean DEBUG- See Also:
-
-
Constructor Details
-
GlyphRenderer
private GlyphRenderer()
-
-
Method Details
-
prepareGlyphRun
static void prepareGlyphRun(@NotNull @NotNull StringTextSegment segment, @NotNull @NotNull GlyphCursor cursor, @NotNull @NotNull SVGFont font, @NotNull @NotNull RenderContext context, @NotNull @NotNull TextOutput textOutput) -
renderGlyphRun
static void renderGlyphRun(@NotNull @NotNull Output output, @NotNull @NotNull PaintOrder paintOrder, @NotNull @NotNull Set<VectorEffect> vectorEffects, @NotNull @NotNull StringTextSegment segment) -
layoutGlyphRun
@NotNull static @NotNull GlyphRun layoutGlyphRun(@NotNull @NotNull StringTextSegment segment, @NotNull @NotNull GlyphCursor cursor, @NotNull @NotNull SVGFont font, @NotNull @NotNull RenderContext context, @NotNull @NotNull TextOutput textOutput) -
computeBaselineOffset
private static float computeBaselineOffset(@NotNull @NotNull SVGFont font, @NotNull @NotNull FontRenderContext fontRenderContext)
-