how to write text with transparency level

  • Michael Ribeiro

    Michael Ribeiro - 2012-08-25

    How I can write colored text which contain a certain level of transparency. I saw in other pdf lib it was possible. How it works with this lib.

  • Michael Ribeiro

    Michael Ribeiro - 2012-08-25

    I already discovered the solution:

    PDExtGState extGState = (PDExtGState) PDExtGState.META.createNew();
    // open a device to the page content stream
    CSCreator creator = CSCreator.createNew(page);
    creator.setExtendedState(null, extGState);

  • mtraut

    mtraut - 2012-08-30

    … back from holidays - thank you for sharing your solution.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks