static BufferedImage shapeToImage(Color bg default Color.white, Shape shape, int w, int h) { ret renderShape_antiAlias(bg, shape, w, h); } // uses shape.getBounds() static BufferedImage shapeToImage(Color bg default Color.white, Shape shape) { ret renderShape_antiAlias(bg, shape); }
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: | 142 / 173 |
Referenced in: | [show references] |