@return true if #getFontStyle() has the bold bit set
()
| 24 | * @return true if {@link #getFontStyle()} has the bold bit set |
| 25 | */ |
| 26 | public boolean isBold() { |
| 27 | return getFontStyle().getWeight() >= FontWeight.SEMI_BOLD; |
| 28 | } |
| 29 | |
| 30 | /** |
| 31 | * @return true if {@link #getFontStyle()} has the italic bit set |