Class GuiSvgSelector
java.lang.Object
com.render.api.gui.GuiSvgSelector
Typed selector for retained
GuiSvgDocument element nodes.
Selectors can match tag, ID, class, attribute value, ancestry, parent/sibling relationships, and structural child position.
-
Method Summary
Modifier and TypeMethodDescriptionadjacentTo(GuiSvgSelector selector) Requires the immediately preceding element sibling to match.static GuiSvgSelectorany()attributeEquals(String name, String value) childOf(GuiSvgSelector selector) Requires the immediately owning SVG element to match.descendantOf(GuiSvgSelector selector) static GuiSvgSelectorbooleanmatches(GuiSvgDocument.Node node) nthChild(int index) Matches a one-based structural child index.precededBy(GuiSvgSelector selector) Requires any preceding element sibling to match.static GuiSvgSelectorstyleClass(String styleClass) static GuiSvgSelector
-
Method Details
-
any
-
tag
-
id
-
styleClass
-
attribute
-
attributeEquals
-
descendantOf
-
childOf
Requires the immediately owning SVG element to match. -
adjacentTo
Requires the immediately preceding element sibling to match. -
precededBy
Requires any preceding element sibling to match. -
firstChild
-
lastChild
-
nthChild
Matches a one-based structural child index. Negative indices are rejected. -
matches
-