Hello all, I have a question about soft-mask. I know there is a sample code "SoftMask.java", but I want to know how to achieve soft-mask using gradation composed of path lines as mask.
For example, if I have the following mask; for(int i=0; i<10; i++) { template.setLineWidth(10-i); template.setGrayStroke(1-(0.1f*i)); template.ellipse(0, 0, 100, 100); template.stroke(); } template.ellipse(0, 0, 100, 100); template.clip(); how to apply the mask to a photo? Is it impossible? I tried "PdfGState#setAlphaIsShape(false)", but I could not get good result. Any help would be appreciated. best regards, KuMi ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar