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

5
LINES

< > BotCompany Repo | #1036073 // g22drawScaledMask

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

Transpiled version (11185L) is out of date.

svoid g22drawScaledMask(Graphics2D etc g, IG22Mask mask, Rect bounds, Color color) {
  var img = mask.image();
  var transparentImage = twoColorImageWithAlpha(img, color, transparentColor());
  drawScaledPixelatedImage(g, transparentImage, bounds);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1036073
Snippet name: g22drawScaledMask
Eternal ID of this version: #1036073/5
Text MD5: efc5d6a74383776f95507dd9795d0360
Author: stefan
Category: javax / gazelle 22
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-09-05 03:22:41
Source code size: 254 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 131 / 209
Version history: 4 change(s)
Referenced in: [show references]