So, I have my trusty iText book in hand and I swear I have read it, looked
at the java docs, searched for examples and scoured the mailing list
archives, but either this is just not working as it should or my
understanding of it is warped.

Here are 2 lines I have attempted:

float[] dash1 = {6, 6};
cb.setLineDash(dash1, 0);
...output line...


float[] dash2 = {12, 8}
cb.setLineDash(dash2, 0);
...output line...


I would expect with my first example to get a line that starts with a dash 6
long, a space 6 long, a dash 6 long, a space 6 long, etc... continuing to
the end of the line. On my second example, I would expect lines 12 long with
spaces that are 8 long continuing to the end of the line.

Instead I am getting solid lines.  Can anyone shed some light on what I am
doing wrong?

Thank you in advance for your help,

Daniel



------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to