cy
The cy
attribute defines the y-axis coordinate of a center point.
You can use this attribute with the following SVG elements:
Note:
As a geometry property, cy
can also be used as CSS property for
and
.
Example
html
circle
For
, cy
defines the y-axis coordinate of the center of the shape.
Note:
The y-axis coordinate of the center of the
can also be defined with the cy
geometry property. If set in CSS, the cy
property value overrides the cy
attribute value.
ellipse
For
, cy
defines the y-axis coordinate of the center of the shape.
Note:
The y-axis coordinate of the center of the
can also be defined with the cy
geometry property. If set in CSS, the cy
property value overrides the cy
attribute value.
radialGradient
Example
html
Specifications
Specification |
---|
Scalable Vector Graphics (SVG) 2 # RadialGradientElementCYAttribute |