TOC : Script API > JavaScript > JavaScript API > GeneralScript > DrawingContext > Method >

 

restore

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : Script API > JavaScript > JavaScript API > GeneralScript > DrawingContext > Method >

 

restore

 

 

Backs up fill color, line color and line thickness saved by save function.

 

 

 

Prototype :

 

void restore

(

       No Arguments

)

 

 

 

Example :

 

ctx.restore();

 

 

 

Available Events :

 

OnPostDraw,  OnPreDraw