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

4
LINES

< > BotCompany Repo | #1018778 // bwFillRect

JavaX fragment (include)

svoid bwFillRect(BWImage img, int x1, int y1, int w, int h, float color) {
  for y to h: for x to w:
    img.setPixel(x1+x, y1+y, color);
}

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: #1018778
Snippet name: bwFillRect
Eternal ID of this version: #1018778/1
Text MD5: 8fa183e7f73ca774c874d65a4c43c3e4
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-13 16:16:00
Source code size: 142 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 458 / 435
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1018850 - bwDrawRect
#1019787 - bwFillWhiteRect