Package com.github.weisj.jsvg.nodes.text
Class StringTextSegment
- 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/interfaces inherited from interface com.github.weisj.jsvg.nodes.text.TextSegment
TextSegment.RenderableSegment
-
-
Field Summary
Fields Modifier and Type Field Description private char[]
codepoints
(package private) @Nullable java.awt.Shape
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 char[]
codepoints()
boolean
isLastSegmentInParent()
-
-
-
Field Detail
-
codepoints
private final char[] codepoints
-
parent
private final TextContainer parent
-
index
private final int index
-
currentGlyphRun
@Nullable @Nullable java.awt.Shape currentGlyphRun
-
currentRenderContext
@Nullable @Nullable RenderContext currentRenderContext
-
-
Constructor Detail
-
StringTextSegment
public StringTextSegment(@NotNull @NotNull TextContainer parent, int index, char[] codepoints)
-
-