1 | static Shape scaleShape(Shape shape, double factor) { |
2 | new AffineTransform tx; |
3 | tx.scale(factor, factor); |
4 | ret tx.createTransformedShape(shape); |
5 | } |
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: | 506 / 540 |
Referenced in: | [show references] |