Package com.github.weisj.jsvg.nodes.text
Class GlyphRenderer
- java.lang.Object
-
- com.github.weisj.jsvg.nodes.text.GlyphRenderer
-
final class GlyphRenderer extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static boolean
DEBUG
-
Constructor Summary
Constructors Modifier Constructor Description private
GlyphRenderer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static float
computeBaselineOffset(@NotNull SVGFont font, @NotNull FontRenderContext fontRenderContext)
(package private) static java.awt.Shape
layoutGlyphRun(@NotNull StringTextSegment segment, @NotNull GlyphCursor cursor, @NotNull SVGFont font, @NotNull MeasureContext measure, @NotNull FontRenderContext fontRenderContext)
(package private) static void
prepareGlyphRun(@NotNull StringTextSegment segment, @NotNull GlyphCursor cursor, @NotNull SVGFont font, @NotNull RenderContext context)
(package private) static void
renderGlyphRun(@NotNull Output output, @NotNull PaintOrder paintOrder, @NotNull java.util.Set<VectorEffect> vectorEffects, @NotNull StringTextSegment segment, @NotNull java.awt.geom.Rectangle2D completeGlyphRunBounds)
-
-
-
Field Detail
-
DEBUG
private static final boolean DEBUG
- See Also:
- Constant Field Values
-
-
Method Detail
-
prepareGlyphRun
static void prepareGlyphRun(@NotNull @NotNull StringTextSegment segment, @NotNull @NotNull GlyphCursor cursor, @NotNull @NotNull SVGFont font, @NotNull @NotNull RenderContext context)
-
renderGlyphRun
static void renderGlyphRun(@NotNull @NotNull Output output, @NotNull @NotNull PaintOrder paintOrder, @NotNull @NotNull java.util.Set<VectorEffect> vectorEffects, @NotNull @NotNull StringTextSegment segment, @NotNull @NotNull java.awt.geom.Rectangle2D completeGlyphRunBounds)
-
layoutGlyphRun
static java.awt.Shape layoutGlyphRun(@NotNull @NotNull StringTextSegment segment, @NotNull @NotNull GlyphCursor cursor, @NotNull @NotNull SVGFont font, @NotNull @NotNull MeasureContext measure, @NotNull @NotNull FontRenderContext fontRenderContext)
-
computeBaselineOffset
private static float computeBaselineOffset(@NotNull @NotNull SVGFont font, @NotNull @NotNull FontRenderContext fontRenderContext)
-
-