static Shape scaleShape(Shape shape, double factor) { new AffineTransform tx; tx.scale(factor, factor); ret tx.createTransformedShape(shape); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006983 |
Snippet name: | scaleShape |
Eternal ID of this version: | #1006983/1 |
Text MD5: | b99497f413bbc5e12b2b75a9c7ebed1f |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-02-21 20:29:47 |
Source code size: | 153 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 505 / 539 |
Referenced in: | [show references] |