Class StringTextSegment

  • All Implemented Interfaces:
    TextSegment

    final class StringTextSegment
    extends java.lang.Object
    implements TextSegment
    • Field Detail

      • codepoints

        private final java.util.List<java.lang.String> codepoints
      • 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)
    • Method Detail

      • codepoints

        @NotNull
        public @NotNull java.util.List<@NotNull java.lang.String> codepoints()
      • isLastSegmentInParent

        public boolean isLastSegmentInParent()