alexzhirkevich / custom-qr-generator

Android library for creating QR codes with logo, custom shapes, colors, background image. Powered by ZXing
MIT License
173 stars 18 forks source link

Add QrVectorPixelShape.Square(size) shape modifier #34

Closed michaelWuensch closed 1 year ago

michaelWuensch commented 1 year ago

Is your feature request related to a problem? Please describe. It seems to be more complicated to create a QR Code with square pixel shapes than it should be.

Describe the solution you'd like There should be a built in QrVectorPixelShape.Square(size) shape modifier

Describe alternatives you've considered Using QrVectorPixelShape.RoundCorners(0f) is different, as the shape cannot be scaled

alexzhirkevich commented 1 year ago

Will be added in #35 as QrVectorPixelShape.Rect(size)

michaelWuensch commented 1 year ago

Awesome, thanks!

alexzhirkevich commented 1 year ago

Available in 2.0.0-alpha01