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