Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1018719 // pointFarOutsideOfComponent

JavaX fragment (include)

sbool pointFarOutsideOfComponent(Component c, Pt p) {
  int margin = 20;
  ret !growRect(margin, toRect(getBounds(c))).contains(p);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018719
Snippet name: pointFarOutsideOfComponent
Eternal ID of this version: #1018719/1
Text MD5: fcd8df42378daf4db24afc4a68fa0128
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-11 21:07:24
Source code size: 136 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 301 / 324
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1018720 - pointOutsideOfImage