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

5
LINES

< > BotCompany Repo | #1019201 // rgbImageAndRect_clipLineRange

JavaX fragment (include)

static RGBImageAndRect rgbImageAndRect_clipLineRange(int y1, int y2, RGBImageAndRect r) {
  if (r == null) null;
  Rect clip = rect(0, y1, r.image.getWidth(), y2-y1);
  ret RGBImageAndRect(clipRGBImage(r.image, clip), clipRect(r.rect, clip));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1019201
Snippet name: rgbImageAndRect_clipLineRange
Eternal ID of this version: #1019201/1
Text MD5: 9038b30130a7a2a2328025bb8a896129
Author: stefan
Category: javax / image processing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-27 14:59:44
Source code size: 248 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 317 / 355
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1019206 - rgbClipLineRange
#1019525 - rgbImageAndRect_getClip