Automattic / Automattic/node-canvas

Implement pattern.setTransform()

Open
#1,411 4 comments 2 reactions 0 assignees View on GitHub
Feature
Dominant language
JavaScript
Stars
10.7k
Forks
1.2k
Avg merge
4d 8h
Merged PRs (30d)
1

Description

```js
const pattern = context.createPattern(image, 'repeat');
pattern.setTransform() // `setTransform` is undefined.
// etc.
```

I checked the type definition, `setTransform` function is there.

Few questions.
1. Is this issue of type def file ?
2. 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 ]

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.