- java.lang.Object
-
@ElementCategories(Gradient) @PermittedContent(categories=Descriptive, anyOf={Stop.class,Animate.class,AnimateTransform.class,Set.class}) public final class RadialGradient extends AbstractGradient<RadialGradient>
-
-
Field Summary
Fields Modifier and Type Field Description private Lengthcxprivate Lengthcyprivate Lengthfrprivate Lengthfxprivate Lengthfyprivate Lengthrstatic java.lang.StringTAG-
Fields inherited from class com.github.weisj.jsvg.nodes.AbstractGradient
gradientTransform, gradientUnits, spreadMethod
-
-
Constructor Summary
Constructors Constructor Description RadialGradient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbuildGradient(@NotNull AttributeNode attributeNode, @Nullable RadialGradient template)protected @NotNull java.awt.PaintgradientForBounds(@NotNull MeasureContext measure, @NotNull java.awt.geom.Rectangle2D bounds, Percentage[] gradOffsets, @NotNull java.awt.Color[] gradColors)@NotNull java.lang.StringtagName()java.lang.StringtoString()-
Methods inherited from class com.github.weisj.jsvg.nodes.AbstractGradient
build, colors, computeViewTransform, drawShape, fillShape, offsets, offsetsToFractions
-
Methods inherited from class com.github.weisj.jsvg.nodes.container.ContainerNode
children, doAdd
-
Methods inherited from class com.github.weisj.jsvg.nodes.container.BaseContainerNode
acceptChild, addChild, isAcceptableType
-
Methods inherited from class com.github.weisj.jsvg.nodes.AbstractSVGNode
addContent, id
-
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.nodes.prototype.Container
childrenOfType
-
-
-
-
Method Detail
-
tagName
@NotNull public @NotNull java.lang.String tagName()
-
buildGradient
protected void buildGradient(@NotNull @NotNull AttributeNode attributeNode, @Nullable @Nullable RadialGradient template)- Specified by:
buildGradientin classAbstractGradient<RadialGradient>
-
gradientForBounds
@NotNull protected @NotNull java.awt.Paint gradientForBounds(@NotNull @NotNull MeasureContext measure, @NotNull @NotNull java.awt.geom.Rectangle2D bounds, Percentage[] gradOffsets, @NotNull @NotNull java.awt.Color[] gradColors)- Specified by:
gradientForBoundsin classAbstractGradient<RadialGradient>
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractSVGNode
-
-