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

4
LINES

< > BotCompany Repo | #1036076 // getBoolPixelDefaultTrue

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (11085L/63K).

sbool getBoolPixelDefaultTrue(IBinaryImage image, int x, int y) {
  ret x < 0 || y < 0 || x >= image.w() || y >= image.h() ? true
    : image.getBoolPixel_noRangeCheck(x, y);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1036076
Snippet name: getBoolPixelDefaultTrue
Eternal ID of this version: #1036076/1
Text MD5: 95551e2c7984c78c060eca9458ced81d
Transpilation MD5: 3a54f97f2712b893d3ea03b8ab06f32f
Author: stefan
Category: javax / gazelle 22
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-09-05 03:46:26
Source code size: 179 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 118 / 168
Referenced in: [show references]