Automattic / Automattic/node-canvas

Object.getOwnPropertyDescriptor(CanvasRenderingContext2D.prototype, "strokeStyle");

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

Description

Object.getOwnPropertyDescriptor(CanvasRenderingContext2D.prototype, "strokeStyle");

"TypeError: Method strokeStyle called on incompatible receiver [object Object]

others no problem
eg: Object.getOwnPropertyDescriptor(CanvasRenderingContext2D.prototype, "fillText");

## Environment
node-cavas:2.5.0
node:V10.16.0
windows7 64bit

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.