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

11
LINES

< > BotCompany Repo | #1006658 // rgbFillRect - synonym of rgbFill

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

Libraryless. Click here for Pure Java version (5099L/33K).

static void rgbFillRect(RGBImage img, int x1, int y1, int w, int h, Color color) {
  rgbFill(img, x1, y1, w, h, colorToInt(color));
}

static void rgbFillRect(RGBImage img, int x1, int y1, int w, int h, int color) {
  rgbFill(img, x1, y1, w, h, color);
}

static void rgbFillRect(BufferedImage img, int x1, int y1, int w, int h, Color color) {
  fillRect(img, x1, y1, w, h, color);
}

Author comment

Began life as a copy of #1006498

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006658
Snippet name: rgbFillRect - synonym of rgbFill
Eternal ID of this version: #1006658/2
Text MD5: 21570102a0589e0f53ee9e566f18404d
Transpilation MD5: cfbb52fc6c537816783d4c72acd2857f
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-09-12 02:32:21
Source code size: 393 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 574 / 655
Version history: 1 change(s)
Referenced in: [show references]