The cx and cy in svg tag means what? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

The cx and cy in svg tag means what?

Svg tag

5th Sep 2017, 9:45 AM
marvelous aimufua
marvelous aimufua - avatar
5 Answers
+ 2
You use cx and cy to set center's coordinates of circular objects like ellipse and circle in svg...
5th Sep 2017, 9:50 AM
Luca
Luca - avatar
+ 2
The coordinates of the center of the circle. If they are omitted, the circle's center is set to (0,0)
5th Sep 2017, 9:59 AM
Saidmamad Gulomshoev
Saidmamad Gulomshoev - avatar
+ 1
hi kayla
5th Sep 2017, 9:55 AM
..........
+ 1
The CX is used to set the position of a circle or ellipse horizontally in SVG (that is where you want your circle or ellipse to be placed on the page from left to right) Likewise the CY is used to set the position of a circle or ellipse vertically in SVG (that is where you want your circle or ellipse to be placed on the page from top to bottom of the page) The "r" however determines the radius of a circle (that is how big or Small you want your drawn circle to be) hope this helps...
5th Sep 2017, 10:02 AM
Eto Olei
Eto Olei - avatar
+ 1
cx = circle x; cy = circle y; x axis is from left of screen to right, or left to right y axis is from top to bottom, bottom to top x is horizontal y is vertical x = longitude; y = latitude;
5th Sep 2017, 10:42 AM
Styxincewa
Styxincewa - avatar