Interface ISvgRadialGradient
interface ISvgRadialGradient
Extends ISvgGradient
Represents an SVG radialGradient element.
The radialGradient element defines a gradient that radiates outward from a focus point.
See also - ISvgGradient.
Methods
setCx()
Sets the cx attribute, the X-coordinate of the radial gradient’s center. This attribute defines the x coordinate of the end circle of the radial gradient. Default value is 50.0 withvoidsetCx(SvgLengthcx)
SvgUnit::Percentage
Parameters
cx
SvgLength — Required
SvgLength to set as the X-coordinate of the gradient’s center.
setCy()
Sets the cy attribute, the Y-coordinate of the radial gradient’s center. This attribute defines the y coordinate of the end circle of the radial gradient. Default value is 50.0 withvoidsetCy(SvgLengthcy)
SvgUnit::Percentage
Parameters
cy
SvgLength — Required
SvgLength to set as the Y-coordinate of the gradient’s center.
setFr()
Sets the fr attribute, the radius of the focal point of the radial gradient. This attribute defines the radius of the start circle of the radial gradient. The gradient will be drawn such that the 0% stop is mapped to the perimeter of the start circle. Default value is 0.0 withvoidsetFr(SvgLengthfr)
SvgUnit::Percentage
Parameters
fr
SvgLength — Required
SvgLength to set as the focal radius of the gradient.
setFx()
Sets the fx attribute, the X-coordinate of the focal point of the radial gradient. This attribute defines the x coordinate of the start circle of the radial gradient. Default value is 50.0 withvoidsetFx(SvgLengthfx)
SvgUnit::Percentage
Parameters
fx
SvgLength — Required
SvgLength to set as the X-coordinate of the gradient’s focal point.
setFy()
Sets the fy attribute, the Y-coordinate of the focal point of the radial gradient. This attribute defines the y coordinate of the start circle of the radial gradient. Default value is 50.0 withvoidsetFy(SvgLengthfy)
SvgUnit::Percentage
Parameters
fy
SvgLength — Required
SvgLength to set as the Y-coordinate of the gradient’s focal
point.
setRadius()
Sets the radius attribute, the radius of the radial gradient. This attribute defines the radius of the end circle of the radial gradient. The gradient will be drawn such that the 100% stop is mapped to the perimeter of the end circle. Default value is 50.0 withvoidsetRadius(SvgLengthradius)
SvgUnit::Percentage
Parameters
radius
SvgLength — Required
SvgLength to set as the radius of the gradient.

