svoid test_PadImageToAspectRatio() { var img = enableScaffolding(PadImageToAspectRatio(blackImage(100), Ratio(9, 16), Color.white))!; assertSame(img, enableScaffolding(PadImageToAspectRatio(img, Ratio(9, 16), Color.white))!; }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034777 |
Snippet name: | test_PadImageToAspectRatio |
Eternal ID of this version: | #1034777/1 |
Text MD5: | 4b7089fc25c9f11e8c03c8eab4513b39 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-08 09:07:06 |
Source code size: | 233 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 144 / 151 |
Referenced in: | [show references] |