The .isPointInStroke method is not currently implemented. Would be great to have!
Contributor guide
Tech stack
javascriptc
Domain
api
Issue type
feature
DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
3
Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
half day
Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
stale
ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
clear
Prerequisites
Canvas API knowledgeNode.js native addon experience
Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
30
Research direction
Examine the implementation of existing point related methods like isPointInPath in the source code (likely in src/Canvas.cc or src/CanvasRenderingContext2D.cc). The Cairo function cairo in stroke may be relevant. Verify handling of transformations and stroke styles. Check for existing tests in the test/ directory and consider adding a test case.