- java.lang.Object
-
- com.github.weisj.jsvg.nodes.AbstractSVGNode
-
- com.github.weisj.jsvg.nodes.Stop
-
- All Implemented Interfaces:
SVGNode
@ElementCategories(Gradient) @PermittedContent(anyOf={Animate.class,Set.class}) public final class Stop extends AbstractSVGNode
-
-
Field Summary
Fields Modifier and Type Field Description private @NotNull java.awt.Colorcolorprivate Percentageoffsetprivate @Nullable BezierPathCommandpathstatic java.lang.StringTAG
-
Constructor Summary
Constructors Constructor Description Stop()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable BezierPathCommandbezierCommand()voidbuild(@NotNull AttributeNode attributeNode)@NotNull java.awt.Colorcolor()@NotNull Percentageoffset()@NotNull java.lang.StringtagName()java.lang.StringtoString()-
Methods inherited from class com.github.weisj.jsvg.nodes.AbstractSVGNode
addContent, id
-
-
-
-
Field Detail
-
TAG
public static final java.lang.String TAG
- See Also:
- Constant Field Values
-
color
@NotNull private @NotNull java.awt.Color color
-
offset
private Percentage offset
-
path
@Nullable private @Nullable BezierPathCommand path
-
-
Method Detail
-
tagName
@NotNull public @NotNull java.lang.String tagName()
-
color
@NotNull public @NotNull java.awt.Color color()
-
offset
@NotNull public @NotNull Percentage offset()
-
bezierCommand
@Nullable public @Nullable BezierPathCommand bezierCommand()
-
build
public void build(@NotNull @NotNull AttributeNode attributeNode)- Specified by:
buildin interfaceSVGNode- Overrides:
buildin classAbstractSVGNode
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractSVGNode
-
-