Adds to the path the path given by the argument. Read more on MDN
let addPath: ( WebAPI.CanvasAPI.path2D, ~path: WebAPI.CanvasAPI.path2D, ~transform: WebAPI.DOMAPI.domMatrix2DInit=?,) => unit
Read more on MDN
let arc: ( WebAPI.CanvasAPI.path2D, ~x: float, ~y: float, ~radius: float, ~startAngle: float, ~endAngle: float, ~counterclockwise: bool=?,) => unit
let arcTo: ( WebAPI.CanvasAPI.path2D, ~x1: float, ~y1: float, ~x2: float, ~y2: float, ~radius: float,) => unit
let bezierCurveTo: ( WebAPI.CanvasAPI.path2D, ~cp1x: float, ~cp1y: float, ~cp2x: float, ~cp2y: float, ~x: float, ~y: float,) => unit
let closePath: WebAPI.CanvasAPI.path2D => unit
let ellipse: ( WebAPI.CanvasAPI.path2D, ~x: float, ~y: float, ~radiusX: float, ~radiusY: float, ~rotation: float, ~startAngle: float, ~endAngle: float, ~counterclockwise: bool=?,) => unit
let lineTo: (WebAPI.CanvasAPI.path2D, ~x: float, ~y: float) => unit
let make: ( ~path: WebAPI.CanvasAPI.path2D=?,) => WebAPI.CanvasAPI.path2D
let make2: (~path: string=?) => WebAPI.CanvasAPI.path2D
let moveTo: (WebAPI.CanvasAPI.path2D, ~x: float, ~y: float) => unit
let quadraticCurveTo: ( WebAPI.CanvasAPI.path2D, ~cpx: float, ~cpy: float, ~x: float, ~y: float,) => unit
let rect: ( WebAPI.CanvasAPI.path2D, ~x: float, ~y: float, ~w: float, ~h: float,) => unit
let roundRect: ( WebAPI.CanvasAPI.path2D, ~x: float, ~y: float, ~w: float, ~h: float, ~radii_: array<float>=?,) => unit
let roundRect2: ( WebAPI.CanvasAPI.path2D, ~x: float, ~y: float, ~w: float, ~h: float, ~radii_: array<float>=?,) => unit
let roundRect3: ( WebAPI.CanvasAPI.path2D, ~x: float, ~y: float, ~w: float, ~h: float, ~radii_: array<float>=?,) => unit