yes i did it that way. aah ok, contstruct appearances() is new. thats the one im looking for.
thank you will check. On Wed, 29 May 2019, 12:20 AM Tilman Hausherr <thaush...@t-online.de> wrote: > Get the AddAnnotations.java example in the source code, and add this > segment below "aSquare.setBorderStyle(borderThick);": > > PDBorderEffectDictionary bed = new PDBorderEffectDictionary(); > bed.setStyle(PDBorderEffectDictionary.STYLE_CLOUDY); > bed.setIntensity(2); > aSquare.setBorderEffect(bed); > > The appearance is later constructed by calling constructAppearances() on > the annotation. There is no need to make the stuff public. But you could > of course pass your own annotation handler. > > Tilman > > Am 28.05.2019 um 08:57 schrieb chitgoks: > > hi tilman. i checked the thread and i am under the assumption that jani's > > cloud border implementation is integrated in the library? > > > > but i cannot deduce how to use it or which classes are required to have > > that effect, seeing as CloudyBorder is not public. > > > > first time i also see handler classes. > > > > anyone got some sample code? doesnt have to be running code, im fine with > > knowing which classes to use. but if there's a sample running code, all > the > > more better. > > > > > > > > On Tue, May 28, 2019 at 2:33 PM Tilman Hausherr <thaush...@t-online.de> > > wrote: > > > >> Am 28.05.2019 um 08:28 schrieb chitgoks: > >>> hi. > >>> > >>> has anyone here created an appearance stream for a box annotation with > >>> cloud border effect? > >>> > >>> i have done this in javascript but doing it in acrobat pdf's space, i > am > >>> stumped. > >>> > >> See my previous message. This was implemented by Jani Pehkonen in > >> > >> https://issues.apache.org/jira/browse/PDFBOX-3353 > >> > >> Tilman > >> > >> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org > >> For additional commands, e-mail: users-h...@pdfbox.apache.org > >> > >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org > For additional commands, e-mail: users-h...@pdfbox.apache.org > >