Libraryless. Click here for Pure Java version (34L/1K).
interface G2Drawable { void drawOn(Graphics2D g); default void drawOn(BufferedImage img) { drawOn(img.createGraphics()); } }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033811 |
| Snippet name: | G2Drawable |
| Eternal ID of this version: | #1033811/4 |
| Text MD5: | 15c6794d3e37c532c903bceada3f1458 |
| Transpilation MD5: | b57cf264be62a06c9595a2c59de07109 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-02-15 17:58:30 |
| Source code size: | 143 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 482 / 629 |
| Version history: | 3 change(s) |
| Referenced in: | #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674) |