You are right. and this is the approach i will be going with because i am also maintaining code for other different libraries so manually drawing appearance streams is the way to go so i cannot use constructAppearances().
On Wed, May 29, 2019 at 12:21 AM Tilman Hausherr <thaush...@t-online.de> wrote: > Am 28.05.2019 um 10:23 schrieb chitgoks: > > hi. im confused with these appearance handlers for annotations. are these > > available only for pdfbox 3.0? > > > Yes, that is available in 3.0 / trunk only. It won't be in 2.0. If you > need this for 2.0, you should grab the code and somehow adjust it to the > 2.0 API. To get a taste how to set appearance streams in 2.0, see > ShowAnnotation6.java attached to the PDFBOX-3353 issue (does not include > the "cloudy" code). > > Tilman > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org > For additional commands, e-mail: users-h...@pdfbox.apache.org > >