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