Open
Description
const pattern = context.createPattern(image, 'repeat');
pattern.setTransform() // `setTransform` is undefined.
// etc.
I checked the type definition, setTransform
function is there.
Few questions.
- Is this issue of type def file ?
- if yes, then how I can set
patternTransform
attribute into the pattern ?
[BTW, the code is working. But I need to add the patternTransform
property ]