@ElementCategories(Gradient)
@PermittedContent(categories=Descriptive,
anyOf={Stop.class,Animate.class,AnimateTransform.class,Set.class})
public final class RadialGradient
extends AbstractGradient<RadialGradient>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Lengthprivate Lengthprivate Lengthprivate Lengthprivate Lengthprivate Lengthstatic final StringFields inherited from class com.github.weisj.jsvg.nodes.AbstractGradient
gradientTransform, gradientUnits, spreadMethod -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbuildGradient(@NotNull AttributeNode attributeNode, @Nullable RadialGradient template) protected @NotNull PaintgradientForBounds(@NotNull MeasureContext measure, @NotNull Rectangle2D bounds, Percentage[] gradOffsets, @NotNull Color[] gradColors) @NotNull StringtagName()toString()Methods inherited from class com.github.weisj.jsvg.nodes.AbstractGradient
build, colors, computeViewTransform, drawShape, fillShape, offsets, offsetsToFractionsMethods inherited from class com.github.weisj.jsvg.nodes.container.ContainerNode
children, doAddMethods inherited from class com.github.weisj.jsvg.nodes.container.BaseContainerNode
acceptChild, addChild, isAcceptableTypeMethods inherited from class com.github.weisj.jsvg.nodes.AbstractSVGNode
addContent, idMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.github.weisj.jsvg.nodes.prototype.Container
childrenOfType
-
Field Details
-
TAG
- See Also:
-
cx
-
cy
-
r
-
fr
-
fx
-
fy
-
-
Constructor Details
-
RadialGradient
public RadialGradient()
-
-
Method Details
-
tagName
-
buildGradient
protected void buildGradient(@NotNull @NotNull AttributeNode attributeNode, @Nullable @Nullable RadialGradient template) - Specified by:
buildGradientin classAbstractGradient<RadialGradient>
-
gradientForBounds
@NotNull protected @NotNull Paint gradientForBounds(@NotNull @NotNull MeasureContext measure, @NotNull @NotNull Rectangle2D bounds, Percentage[] gradOffsets, @NotNull @NotNull Color[] gradColors) - Specified by:
gradientForBoundsin classAbstractGradient<RadialGradient>
-
toString
- Overrides:
toStringin classAbstractSVGNode
-