Export (0) Print
Expand All
a
b
c
cx
cy
d
dx
dy
e
f
fx
fy
id
in1
in2
k1
k2
k3
k4
r1
r2
x
x1
x2
y
y1
y2
z
Expand Minimize

fx attribute | fx property

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

Scalable Vector Graphics: Gradients and Patterns, Section 13.4.3Internet Explorer 9

Syntax

HTML
<element fx="p" ... >
JavaScript
p = object.fx

Property values

Type: Object

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

Standards information

Remarks

The fx and 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 fx attribute, fx coincides with the presentational value of cx for the element, whether the value for cx is inherited or not. If the element references an element that specifies a value for fx, the value of fx is inherited from the referenced element.

You can animate the fx property.

See also

SVGRadialGradientElement
Reference
fy
r

 

 

Show:
© 2014 Microsoft