method:getSize ();return type:intcontent:ใช้คืนค่า ขนาด ของ fontexample:Font font = new Font ( "TimesRoman", Font.BOLD, 12 ); int size = font.getSize ();