Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

不规则图形的点击事件以及画布变换后触摸操作处理

Open
#41 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, java
Domain
mobile-dev

Research direction

No file or test is named; the issue only provides Canvas drawCircle examples and mentions touch handling after canvas transforms. Start by locating the custom view's touch entry point and the code that draws the circles, then define done as distinct click events for each circle that remain correct after transformations.

Written by the indexing model from the issue text.

Description

已解决

比如我画了这样两个圆,
canvas.drawCircle(20, 20, 10, mPaint);
canvas.drawCircle(40, 40, 10, mPaint);
我想要点击两个圆都有不同的是事件触发该如何实现。求教~谢谢

Dominant language
Java
Stars
9.3k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GcsSloop/AndroidNote

All issues in GcsSloop/AndroidNote

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.