TOC : OZ e-Form Extension > OZ e-Form JavaScript API > Input > RadioButton > Event >

 

OnPreDraw

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : OZ e-Form Extension > OZ e-Form JavaScript API > Input > RadioButton > Event >

 

OnPreDraw

 

 

Occurs before the RadioButton is drawn.

 

 

 

Prototype :

 

void OnPreDraw

(

       DrawingContext ctx

)

 

 

 

Arguments :

 

ctx

DrawingContext

 

 

 

Example :

 

//filled half circle

  ctx.fillStyle = "#FF0000";

  ctx.arc(30, 30, 20, 0, Math.PI, true);

  ctx.fill();

 

 

 

See also :

 

DrawingContext