<< Click to Display Table of Contents >> Navigation: »No topics above this level« TOC : Script API > JavaScript > JavaScript API > Component > Note > Event >OnPreDraw |
Occurs before the note 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 :