Description

(1.3.1) Uncache commands this element. You must use the cache() method before

Returns

CanvasEngine.Element

Example

In ready method :

    var el = this.createElement(120, 120);
    el.beginPath();
    el.strokeStyle = 'red';
    el.lineWidth = 4;
    el.moveTo(10,10);
    el.lineTo(10,30);
    el.stroke();

    el.cache(); 
    el.lineTo(30,30); // does not work

    el.uncache(); 
    el.lineTo(30,30);

Discussion