Code Monkey home page Code Monkey logo

Comments (8)

alexzhirkevich avatar alexzhirkevich commented on July 19, 2024 1

I mean use it how you have used it before, without new code snippet. I'll fix alpha version soon

from custom-qr-generator.

alexzhirkevich avatar alexzhirkevich commented on July 19, 2024

you have to add alpha manually to the color. alpha paramter will be removed. color parameter will be added to Default highlighting. For now you can use styled one with default arguments and set color to transparent white

from custom-qr-generator.

hardikbhalodi avatar hardikbhalodi commented on July 19, 2024

I tried that way here is code snippet

 HighlightingType type=new HighlightingType.Styled(null,getQRVectorColor(Color.parseColor("#66ffffff")));
 options.setAnchorsHighlighting(new QrHighlighting(type,
                    type, HighlightingType.None.INSTANCE, 0.6f));

here is Output, getting some margin in version eye
Screenshot_165803

from custom-qr-generator.

alexzhirkevich avatar alexzhirkevich commented on July 19, 2024

Use elementShape from here #38 (comment) and create frame for it with the size of 5, not 7

from custom-qr-generator.

alexzhirkevich avatar alexzhirkevich commented on July 19, 2024

Or just use stable version

from custom-qr-generator.

hardikbhalodi avatar hardikbhalodi commented on July 19, 2024

Version stable 'com.github.alexzhirkevich:custom-qr-generator:1.6.2'

With code snippet alpha inside color

HighlightingType type=new HighlightingType.Styled(null,getQRVectorColor(Color.parseColor("#66ffffff")));
options.setAnchorsHighlighting(new QrHighlighting(type,
                   type, HighlightingType.None.INSTANCE, 0.6f));

Screenshot_165803

with old code snippet alpha as separate parameter
options.setAnchorsHighlighting(new QrHighlighting(HighlightingType.Default.INSTANCE,
HighlightingType.Default.INSTANCE, HighlightingType.None.INSTANCE, 0.6f));

Screenshot_170515

from custom-qr-generator.

hardikbhalodi avatar hardikbhalodi commented on July 19, 2024

@alexzhirkevich new alpha is fixed?

from custom-qr-generator.

AKFEvn avatar AKFEvn commented on July 19, 2024

Hello. Can I ask how to create a QR code like this?
Can you guide me? @hardikbhalodi @alexzhirkevich

from custom-qr-generator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.