Libraryless. Click here for Pure Java version (32L/1K).
static Area toArea(Shape s) { if (s == null) null; if (s cast Area) ret s; ret new Area(s); }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033842 |
Snippet name: | toArea |
Eternal ID of this version: | #1033842/1 |
Text MD5: | f32c059f4df5ef627dbce65ba5f1282d |
Transpilation MD5: | 1c8878ac0c76e6f561a5efb2246f7d1b |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-06 23:58:17 |
Source code size: | 103 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 117 / 183 |
Referenced in: | [show references] |