@param g Graphics context. @return the leading of the parsed text.
(Graphics g)
| 505 | * @return the leading of the parsed text. |
| 506 | */ |
| 507 | public int getLeading(Graphics g) { |
| 508 | if(g==null) { |
| 509 | return 0; |
| 510 | } |
| 511 | parseText(g); |
| 512 | return leading; |
| 513 | } |
| 514 | |
| 515 | /** |
| 516 | * parse the text. When the text is parsed the width, height, leading are all |