Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional flexibility on DotShape #2

Open
jklein24 opened this issue Feb 21, 2023 · 0 comments
Open

Add additional flexibility on DotShape #2

jklein24 opened this issue Feb 21, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jklein24
Copy link
Contributor

In discussions with folks about future features, it seems like it would be cool to add custom DotShapes via something like:

drawDot: DrawScope.() -> Unit

and maybe even

interface QrDotDrawScope : DrawScope {
  val dotPosition: IntOffset
  val dotColor: Color
}

This would even allow people to customize dot color and shape by position of the dot. Not sure how that'll affect scanner reliability, but could do some pretty cool stuff!

@jklein24 jklein24 added the enhancement New feature or request label Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant