Class StringTextSegment

java.lang.Object
com.github.weisj.jsvg.nodes.text.StringTextSegment
All Implemented Interfaces:
TextSegment

final class StringTextSegment extends Object implements TextSegment
  • Field Details

    • codepoints

      private final List<String> codepoints
    • parent

      private final TextContainer parent
    • index

      private final int index
    • currentGlyphRun

      @Nullable @Nullable GlyphRun currentGlyphRun
    • currentRenderContext

      @Nullable @Nullable RenderContext currentRenderContext
  • Constructor Details

    • StringTextSegment

      public StringTextSegment(@NotNull @NotNull TextContainer parent, int index, char[] codepoints)
  • Method Details

    • codepoints

      @NotNull public @NotNull List<@NotNull String> codepoints()
    • isLastSegmentInParent

      public boolean isLastSegmentInParent()