Skip to content

CanvasPattern

Values

isInstanceOf

let isInstanceOf: 't => bool

setTransform

Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation. Read more on MDN

let setTransform: (
WebAPI.CanvasAPI.canvasPattern,
~transform: WebAPI.DOMAPI.domMatrix2DInit=?,
) => unit

Parameters

WebAPI.CanvasAPI.canvasPattern option< WebAPI.DOMAPI.domMatrix2DInit >

Return type

unit