This is the first time around that I am using some js,otherwise I always rely on hardcoding.Probably this is the reason why I am facing some issues in understanding the syntax of kineticjs. I saw some
1. Tween
2. layer(add)
3. stage(add)
4. var rect=new kinetic.rect{//some code with property:value,}
I am familiar with constructor and creating instances of it.But I am finding it difficult to understand the syntax of kineticjs.What are the above things used for,i have no idea.I tried searching but I din`t get what I was looking for. I have a project in which I need to increase the height of bezier curve with transition.Kineticjs seems to be the only solution for this. So my question is how to define my own custom function in kineticjs and how to call it with respect to the kineticjs syntax?