Package com.github.weisj.jsvg.parser
Interface TextContent
- All Known Implementing Classes:
TextContentImpl
@Experimental
public interface TextContent
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescription@NotNull List<@NotNull TextContent.Segment> contentAfterChildIndex(int childIndex) Returns the list of text fragments after the child element at the given index.
-
Method Details
-
contentAfterChildIndex
@Experimental @NotNull @NotNull List<@NotNull TextContent.Segment> contentAfterChildIndex(int childIndex) Returns the list of text fragments after the child element at the given index. Returns the content before the first child if index is -1.- Parameters:
childIndex- the index of the child element- Returns:
- the list of text fragments
-