You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Jorge Pinho <jo...@hotmail.com> on 2013/11/29 14:44:00 UTC
why is beginText() necessary ?
Hi,
why is beginText() necessary ?
Cant I just drawString("aa") ?
Does the other drawing methods "fillRect(), etc..." have the need for a method to mark a begin ?
Thanks
Jorge
Re: why is beginText() necessary ?
Posted by Andreas Lehmkuehler <an...@lehmi.de>.
Hi,
Am 29.11.2013 14:44, schrieb Jorge Pinho:
>
>
>
>
> Hi,
>
> why is beginText() necessary ?
It's part of the pdf specs. Any text has to be encapsulated within a begin/end text
> Cant I just drawString("aa") ?
No
> Does the other drawing methods "fillRect(), etc..." have the need for a method to mark a begin ?
No
> Thanks
> Jorge
BR
Andreas Lehmkühler