| isBold() | ใช้ตรวจสอบว่า font เป็นแบบ BOLD ใช่หรือไม่ |
|---|
method:isBold ();
return type:boolean
content:ใช้ตรวจสอบว่า font เป็นแบบ BOLD ใช่หรือไม่
example:Font font = new Font ( "TimesRoman", Font.BOLD, 12 ); if ( font.isBold () ) { System.out.println ( "Font is bold." ); }