Changes between Version 4 and Version 5 of SVG properties
- Timestamp:
- Mar 7, 2019 1:42:39 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SVG properties
v4 v5 1 **SVG Properties**2 1 3 What is an SVG property? 2 == SVG Properties 3 4 **What is an SVG property?** 4 5 5 6 It is a data type which can be primitive DOM type or SVG type. Example of primitive types are int, float, boolean. Examples for DOM type is DOMString. And examples for SVG types are SVGNumber, SVGNumberList, SVGLength, SVGLengthList, SVGAngle, SVGPoint, SVGPointList. 6 7 7 What is so special about SVG property? 8 **What is so special about SVG property?** 8 9 9 10 1. It has its own DOM interface which is separate from getAttribute() and setAttribute() methods. … … 13 14 5. The SVG property can be attached to an SVGElement or it can be detached. 14 15 15 What things to consider for storing, modifying and animating the SVG property? 16 **What things to consider for storing, modifying and animating the SVG property?** 16 17 17 18 1. It has to be RefCounted because the DOM object will encapsulate the same SVG property and this DOM object can outlive the owner element.