Use the getNative() method instead, which allows library interfaces to be written in a cross-platform fashion for desktop, Android, and others. This is still included for PGraphics objects, which may need the image.
()
| 348 | * This is still included for PGraphics objects, which may need the image. |
| 349 | */ |
| 350 | public Image getImage() { // ignore |
| 351 | return (Image) getNative(); |
| 352 | } |
| 353 | |
| 354 | |
| 355 | /** |
no test coverage detected