class type canvas =Inheritsobject
..end
method _get_width : int
method _set_width : int -> unit
method _get_height : int
method _set_height : int -> unit
method toDataUrl : string
method toDataUrl_args_ : 'a. string -> 'a -> string
method getContext : string -> canvasRenderingContext2D