Class GlyphRunTextOutput
java.lang.Object
com.github.weisj.jsvg.nodes.text.GlyphRunTextOutput
- All Implemented Interfaces:
TextOutput
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringBuilderprivate @Nullable RenderContextprivate @Nullable AffineTransform -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidvoidcodepoint(@NotNull String codepoint, @NotNull AffineTransform glyphTransform, @NotNull RenderContext context) final voidendText()protected abstract voidglyphRun(@NotNull String codepoints, @NotNull AffineTransform glyphTransform, @NotNull RenderContext context) voidSignals that the next glyph has manual placement and therefore is visually separated from the previous glyph.protected abstract voidprotected abstract voidprivate voidreset()
-
Field Details
-
codepoints
-
glyphTransform
-
context
-
-
Constructor Details
-
GlyphRunTextOutput
public GlyphRunTextOutput()
-
-
Method Details
-
glyphRun
protected abstract void glyphRun(@NotNull @NotNull String codepoints, @NotNull @NotNull AffineTransform glyphTransform, @NotNull @NotNull RenderContext context) -
onTextStart
protected abstract void onTextStart() -
onTextEnd
protected abstract void onTextEnd() -
codepoint
public void codepoint(@NotNull @NotNull String codepoint, @NotNull @NotNull AffineTransform glyphTransform, @NotNull @NotNull RenderContext context) - Specified by:
codepointin interfaceTextOutput
-
reset
private void reset() -
beginText
public final void beginText()- Specified by:
beginTextin interfaceTextOutput
-
glyphRunBreak
public void glyphRunBreak()Description copied from interface:TextOutputSignals that the next glyph has manual placement and therefore is visually separated from the previous glyph.- Specified by:
glyphRunBreakin interfaceTextOutput
-
endText
public final void endText()- Specified by:
endTextin interfaceTextOutput
-