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

8
LINES

< > BotCompany Repo | #1033734 // sameSize

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

Transpiled version (4862L) is out of date.

sbool sameSize(WidthAndHeight a, BufferedImage b) {
  ret a != null && b != null && a.getWidth() == b.getWidth()
    && a.getHeight() == b.getHeight();
}

sbool sameSize(BufferedImage b, WidthAndHeight a) {
  ret sameSize(a, b);
}

Author comment

Began life as a copy of #1019149

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033734
Snippet name: sameSize
Eternal ID of this version: #1033734/3
Text MD5: fd032056544f373ea43f2f9617f44afe
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-07 19:18:53
Source code size: 233 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 93 / 140
Version history: 2 change(s)
Referenced in: [show references]