sys::Obj fwt::Widget fwt::Canvas
@Js @Serializable { simple=false collection=false }
Canvas is a custom widget which paints itself.
private native Void dummyCanvas()
virtual Void onPaint(Graphics g)
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.