Package com.github.weisj.jsvg.nodes
Class Stop
- 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.Color
color
private float
offset
private @Nullable BezierPathCommand
path
static java.lang.String
TAG
-
Constructor Summary
Constructors Constructor Description Stop()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable BezierPathCommand
bezierCommand()
void
build(@NotNull AttributeNode attributeNode)
@NotNull java.awt.Color
color()
float
offset()
@NotNull java.lang.String
tagName()
java.lang.String
toString()
-
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 float 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
public float offset()
-
bezierCommand
@Nullable public @Nullable BezierPathCommand bezierCommand()
-
build
public void build(@NotNull @NotNull AttributeNode attributeNode)
- Specified by:
build
in interfaceSVGNode
- Overrides:
build
in classAbstractSVGNode
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractSVGNode
-
-