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

3
LINES

< > BotCompany Repo | #1031353 - setPixel

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

Libraryless. Click here for Pure Java version (97L/1K).

svoid setPixel(BufferedImage img, Pt p, Color color) {
  img?.setRGB(p.x, p.y, colorToIntOpaque(color));
}

Author comment

Began life as a copy of #1025174

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031353
Snippet name: setPixel
Eternal ID of this version: #1031353/3
Text MD5: 5d58762f0fe58fea14d331d0bdc398f8
Transpilation MD5: 638e611618b3bf3a43b784e8d76aceb8
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-07 03:47:10
Source code size: 108 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 30 / 56
Version history: 2 change(s)
Referenced in: [show references]