1 | static BufferedImage shapeToImage(Color bg default Color.white, Shape shape, int w, int h) { |
2 | ret renderShape_antiAlias(bg, shape, w, h); |
3 | } |
4 | |
5 | |
6 | |
7 | // uses shape.getBounds() |
8 | static BufferedImage shapeToImage(Color bg default Color.white, Shape shape) { |
9 | ret renderShape_antiAlias(bg, shape); |
10 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034117 |
| Snippet name: | shapeToImage - synonym of renderShape_antiAlias |
| Eternal ID of this version: | #1034117/1 |
| Text MD5: | b7a2200942292443130021fef974c207 |
| Author: | someone |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-01-22 18:36:12 |
| Source code size: | 293 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 413 / 446 |
| Referenced in: | [show references] |