fx property

Gets or sets the x-coordinate for the focal point of a radial gradient.

 

Syntax

HRESULT value = object.put_fx(ISVGAnimatedLength* v);HRESULT value = object.get_fx(ISVGAnimatedLength** p);

Property values

Type: Object

The x-coordinate for the focal point of a radial gradient.

Standards information

Remarks

The ISVGRadialGradientElement::fx and ISVGRadialGradientElement::fy properties define the focal point for the radial gradient. The gradient is drawn such that the 0% gradient stop is mapped to the point (fx, fy).

If you do not specify the ISVGRadialGradientElement::fx attribute, ISVGRadialGradientElement::fx coincides with the presentational value of ISVGRadialGradientElement::cx for the element, whether the value for ISVGRadialGradientElement::cx is inherited or not. If the element references an element that specifies a value for ISVGRadialGradientElement::fx, the value of ISVGRadialGradientElement::fx is inherited from the referenced element.

You can animate the ISVGRadialGradientElement::fx property.

See also

Reference

ISVGRadialGradientElement::fy

ISVGRadialGradientElement::r