- java.lang.Object
-
- com.github.weisj.jsvg.nodes.text.StringTextSegment
-
- All Implemented Interfaces:
TextSegment
final class StringTextSegment extends java.lang.Object implements TextSegment
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
StringTextSegment.CodepointsCharacterIterator
-
Nested classes/interfaces inherited from interface com.github.weisj.jsvg.nodes.text.TextSegment
TextSegment.RenderableSegment
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.lang.String>
codepoints
(package private) @Nullable GlyphRun
currentGlyphRun
(package private) @Nullable RenderContext
currentRenderContext
private int
index
private TextContainer
parent
-
Constructor Summary
Constructors Constructor Description StringTextSegment(@NotNull TextContainer parent, int index, char[] codepoints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.util.List<@NotNull java.lang.String>
codepoints()
boolean
isLastSegmentInParent()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.weisj.jsvg.nodes.text.TextSegment
isValid
-
-
-
-
Field Detail
-
codepoints
private final java.util.List<java.lang.String> codepoints
-
parent
private final TextContainer parent
-
index
private final int index
-
currentGlyphRun
@Nullable @Nullable GlyphRun currentGlyphRun
-
currentRenderContext
@Nullable @Nullable RenderContext currentRenderContext
-
-
Constructor Detail
-
StringTextSegment
public StringTextSegment(@NotNull @NotNull TextContainer parent, int index, char[] codepoints)
-
-