1 | static Pt centerOfDimension(Dimension d) { |
2 | ret d == null ? null : new Pt(d.width/2, d.height/2); |
3 | } |
Began life as a copy of #1005717
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: | #1014566 |
Snippet name: | centerOfDimension - returns Pt |
Eternal ID of this version: | #1014566/1 |
Text MD5: | 52fc25b26d21ef7d65ff90f58d910d68 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-24 01:03:21 |
Source code size: | 102 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 337 / 377 |
Referenced in: | [show references] |