(Font font)
| 260 | /// |
| 261 | /// - `font`: the font used with the drawString method calls |
| 262 | public void setFont(Font font) { |
| 263 | |
| 264 | this.current = font; |
| 265 | if (!(font instanceof CustomFont)) { |
| 266 | impl.setNativeFont(nativeGraphics, font.getNativeFont()); |
| 267 | } |
| 268 | } |
| 269 | |
| 270 | /// Returns the x clipping position |
| 271 | /// |