The SVGRectElement interface provides access to the properties of the rect element.
Inherits from SVGElementSVGElement
PropertiesNo properties.
MethodsNo methods.
EventsNo events.
Inherited from SVGElement PropertiesNo properties.
MethodsNo methods.
EventsNo events.
Inherited from SVGTests PropertiesNo properties.
MethodsNo methods.
EventsNo events.
Inherited from SVGLangSpace PropertiesNo properties.
MethodsNo methods.
EventsNo events.
Inherited from SVGExternalResourcesRequired PropertiesNo properties.
MethodsNo methods.
EventsNo events.
Inherited from SVGStylable PropertiesNo properties.
MethodsNo methods.
EventsNo events.
Inherited from SVGTransformable PropertiesNo properties.
MethodsNo methods.
EventsNo events.
Examples<?xml version="1.0"?>
<svg width="120" height="120"
viewPort="0 0 120 120" version="1.1"
xmlns="http://www.w3.org/2000/svg">
<rect x="10" y="10" width="100" height="100"/>
</svg>
<?xml version="1.0"?>
<svg width="120" height="120"
viewPort="0 0 120 120" version="1.1"
xmlns="http://www.w3.org/2000/svg">
<rect x="10" y="10"
width="100" height="100"
rx="15" ry="15"/>
</svg>
Notes Remarks
Note: In addition to the attributes, properties, events, methods, and styles listed above, SVG elements also inherent core HTML attributes, properties, events, methods, and styles.
Standards informationThe SVGRectElement object has these properties:
Mozilla Developer Network : [SVGRectElement Article]
Microsoft Developer Network: [SVGRectElement Article]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4