Example:
var circle = paper.circle(100, 56, 50);
circle.attr('r');
---> 50
circle.transform('s0.5');
circle.attr('r');
---> 50
Once the element is transformed, its path and attributes have changed. It will be really useful to have a method which can give you the 'transformed' attributes. For example:
var circle = paper.circle(100, 56, 50);
circle.attr('r');
---> 50
circle.transform('s0.5');
circle.getCurrentAttr('r');
---> 25
Example: var circle = paper.circle(100, 56, 50); circle.attr('r'); ---> 50 circle.transform('s0.5'); circle.attr('r'); ---> 50
Once the element is transformed, its path and attributes have changed. It will be really useful to have a method which can give you the 'transformed' attributes. For example: var circle = paper.circle(100, 56, 50); circle.attr('r'); ---> 50 circle.transform('s0.5'); circle.getCurrentAttr('r'); ---> 25