/** * Sets the font size of text subsequently appended to this * object. Previously appended text is not affected. * <p/> * Valid point sizes are between 1 and 99 (inclusive). If * size is outside this range, this method returns false * and does not change font size. If size is within this * range, the font size is changed and true is returned. * * @param size The size in points. Valid point sizes are * between 1 and 99 (inclusive). * @return true if the font size was changed, false if font * size was not changed because 1 > size > 99. */ public boolean setFontSize(int size) { return super.setFontSize(size); }
/** * Sets the font size of text subsequently appended to this * object. Previously appended text is not affected. * <p/> * Valid point sizes are between 1 and 99 (inclusive). If * size is outside this range, this method returns false * and does not change font size. If size is within this * range, the font size is changed and true is returned. * * @param size The size in points. Valid point sizes are * between 1 and 99 (inclusive). * @return true if the font size was changed, false if font * size was not changed because 1 > size > 99. */ public boolean setFontSize(int size) { return super.setFontSize(size); }