fx method

fx

Sets the ‘fx’ attribute of the SVG ‘radialGradient’ element, specifying the x-coordinate of the focal point of the gradient.

Returns

The current instance of SVGRadialGradientElementBuilder for method chaining.

def fx(self, value, type):
    ...
ParameterTypeDescription
valuefloatThe x-coordinate of the gradient’s focal point.
typeLengthTypeThe unit of measurement for the x-coordinate (default is pixels).

See Also