- java.lang.Object
-
- com.github.weisj.jsvg.nodes.AbstractSVGNode
-
- com.github.weisj.jsvg.nodes.SolidColor
-
- All Implemented Interfaces:
SVGNode,SimplePaintSVGPaint,SVGPaint
@ElementCategories(Gradient) @PermittedContent(categories={Animation,Descriptive}) public final class SolidColor extends AbstractSVGNode implements SimplePaintSVGPaint
-
-
Constructor Summary
Constructors Constructor Description SolidColor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuild(@NotNull AttributeNode attributeNode)@NotNull java.awt.Paintpaint()@NotNull java.lang.StringtagName()-
Methods inherited from class com.github.weisj.jsvg.nodes.AbstractSVGNode
addContent, id, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.github.weisj.jsvg.paint.SimplePaintSVGPaint
drawShape, fillShape
-
-
-
-
Field Detail
-
TAG
public static final java.lang.String TAG
- See Also:
- Constant Field Values
-
color
private java.awt.Color color
-
-
Method Detail
-
tagName
@NotNull public @NotNull java.lang.String tagName()
-
paint
@NotNull public @NotNull java.awt.Paint paint()
- Specified by:
paintin interfaceSimplePaintSVGPaint
-
build
public void build(@NotNull @NotNull AttributeNode attributeNode)- Specified by:
buildin interfaceSVGNode- Overrides:
buildin classAbstractSVGNode
-
-