I Java2D advanced font properties (underline, strikethrough, etc.) are set via 
AttrtibutedString:

AttrtibutedString at = new AttrtibutedString("Hello, World");
at.addAttribute(TextAttribute.UNDERLINE, TextAttribute.UNDERLINE_ON);
graphics.drawString(at.getIterator(), float x, float y)

Unfortunately, HSLF does not yet support this functionality.

Yegor

Hi Yegor,

I could set color and font (bold, italic) in PPGraphics2D and was able to
display it.
However How to display underlined text  using PPGraphics2D.drawString(String
s,float x ,float y) ?


Regards,
Dinakara


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to