java.lang.Object
com.github.weisj.jsvg.nodes.text.GlyphRenderer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static float
computeBaselineOffset
(@NotNull SVGFont font, @NotNull FontRenderContext fontRenderContext) (package private) static 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 Set<VectorEffect> vectorEffects, @NotNull StringTextSegment segment, @NotNull Rectangle2D completeGlyphRunBounds)
-
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) -
renderGlyphRun
static void renderGlyphRun(@NotNull @NotNull Output output, @NotNull @NotNull PaintOrder paintOrder, @NotNull @NotNull Set<VectorEffect> vectorEffects, @NotNull @NotNull StringTextSegment segment, @NotNull @NotNull Rectangle2D completeGlyphRunBounds) -
layoutGlyphRun
static 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)
-