VOOZH about

URL: https://www.geeksforgeeks.org/html/svg-circleelement-r-property/

⇱ SVG CircleElement.r Property - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

SVG CircleElement.r Property

Last Updated : 30 Mar, 2022

SVG stands for Scalable Vector Graphic. It can be used to make graphics and animations like in HTML canvas.

The SVG CircleElement r property returns an SVGAnimatedLength object corresponding to the attribute of the given line element

Syntax:

CircleElement.r

Return value: This property returns SVGAnimatedLength object that can be used get the r of the circle element

Example 1: 

Output:

👁 Image

Example 2: 

Output:

👁 Image
Comment