class fwt::Canvas
sys::Obj
fwt::Widget
fwt::Canvas
@Js
@Serializable
Source
Canvas is a custom widget which paints itself.
-
onPaint
-
virtual Void onPaint(Graphics g)
Source
This callback is invoked when the widget should be repainted. The graphics context is initialized at the widget's origin with the clip bounds set to the widget's size.