package js_of_ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
method canvas : canvasElement Js_of_ocaml__.Js.t Js_of_ocaml__.Js.readonly_prop
method save : unit Js_of_ocaml__.Js.meth
method restore : unit Js_of_ocaml__.Js.meth
method scale : Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method rotate : Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method translate : Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method transform : Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method setTransform : Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method globalAlpha : Js_of_ocaml__.Js.number_t Js_of_ocaml__.Js.prop
method globalCompositeOperation : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method strokeStyle : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.writeonly_prop
method strokeStyle_gradient : canvasGradient Js_of_ocaml__.Js.t Js_of_ocaml__.Js.writeonly_prop
method strokeStyle_pattern : canvasPattern Js_of_ocaml__.Js.t Js_of_ocaml__.Js.writeonly_prop
method fillStyle : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.writeonly_prop
method fillStyle_gradient : canvasGradient Js_of_ocaml__.Js.t Js_of_ocaml__.Js.writeonly_prop
method fillStyle_pattern : canvasPattern Js_of_ocaml__.Js.t Js_of_ocaml__.Js.writeonly_prop
method createLinearGradient : Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> canvasGradient Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method createRadialGradient : Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> canvasGradient Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method createPattern : imageElement Js_of_ocaml__.Js.t -> Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t -> canvasPattern Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method createPattern_fromCanvas : canvasElement Js_of_ocaml__.Js.t -> Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t -> canvasPattern Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method createPattern_fromVideo : videoElement Js_of_ocaml__.Js.t -> Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t -> canvasPattern Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method lineWidth : Js_of_ocaml__.Js.number_t Js_of_ocaml__.Js.prop
method lineCap : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method lineJoin : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method miterLimit : Js_of_ocaml__.Js.number_t Js_of_ocaml__.Js.prop
method shadowOffsetX : Js_of_ocaml__.Js.number_t Js_of_ocaml__.Js.prop
method shadowOffsetY : Js_of_ocaml__.Js.number_t Js_of_ocaml__.Js.prop
method shadowBlur : Js_of_ocaml__.Js.number_t Js_of_ocaml__.Js.prop
method shadowColor : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method clearRect : Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method fillRect : Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method strokeRect : Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method beginPath : unit Js_of_ocaml__.Js.meth
method closePath : unit Js_of_ocaml__.Js.meth
method moveTo : Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method lineTo : Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method quadraticCurveTo : Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method bezierCurveTo : Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method arcTo : Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method rect : Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method arc : Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> bool Js_of_ocaml__.Js.t -> unit Js_of_ocaml__.Js.meth
method fill : unit Js_of_ocaml__.Js.meth
method stroke : unit Js_of_ocaml__.Js.meth
method clip : unit Js_of_ocaml__.Js.meth
method isPointInPath : Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method drawFocusRing : element Js_of_ocaml__.Js.t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> bool Js_of_ocaml__.Js.t -> bool Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method font : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method textAlign : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method textBaseline : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.prop
method fillText : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method fillText_withWidth : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method strokeText : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method strokeText_withWidth : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method measureText : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t -> textMetrics Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method drawImage : imageElement Js_of_ocaml__.Js.t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method drawImage_withSize : imageElement Js_of_ocaml__.Js.t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method drawImage_full : imageElement Js_of_ocaml__.Js.t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method drawImage_fromCanvas : canvasElement Js_of_ocaml__.Js.t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method drawImage_fromCanvasWithSize : canvasElement Js_of_ocaml__.Js.t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method drawImage_fullFromCanvas : canvasElement Js_of_ocaml__.Js.t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method drawImage_fromVideoWithVideo : videoElement Js_of_ocaml__.Js.t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method drawImage_fromVideoWithSize : videoElement Js_of_ocaml__.Js.t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method drawImage_fullFromVideo : videoElement Js_of_ocaml__.Js.t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
method createImageData : int -> int -> imageData Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method getImageData : Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> imageData Js_of_ocaml__.Js.t Js_of_ocaml__.Js.meth
method putImageData : imageData Js_of_ocaml__.Js.t -> Js_of_ocaml__.Js.number_t -> Js_of_ocaml__.Js.number_t -> unit Js_of_ocaml__.Js.meth
OCaml

Innovation. Community. Security.