Class RadialGradient
@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 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 AbstractGradient
build, colors, computeViewTransform, drawShape, fillShape, offsets, offsetsToFractionsMethods inherited from class ContainerNode
children, doAddMethods inherited from class BaseContainerNode
acceptChild, addChild, isAcceptableTypeMethods inherited from class AbstractSVGNode
addContent, idMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface 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
-