PDA

View Full Version : shape tool!



nikclifford
4 Apr 2014, 1:59 AM
Is there going to a poly shape tool in sencha; that we can make arbitrary shapes into button etc? I noticed HTML5 does support poly shapes?
Nik

miro.bojic
7 Apr 2014, 9:37 AM
This is not something that will happen any time soon. In HTML5 you can draw polygons inside a canvas object or as part of inline SVG. In both cases, it is not possible to animate these through CSS keyframe animations afterwards.

The W3C is currently looking into unifying the way SVG and CSS animations work, so potentially this is something that might be interesting in the future, once the browsers support it: http://dev.w3.org/SVG/proposals/css-animation/animation-proposal.html