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

11
LINES

< > BotCompany Repo | #1034221 // addBorderToImage - synonym of img_addBorder

JavaX fragment (include)

1  
static BufferedImage addBorderToImage(BufferedImage img, Color color, int border) {
2  
  ret img_addBorder(img, color, border);
3  
}
4  
5  
static BufferedImage addBorderToImage(int border default 1, Color color, BufferedImage img) {
6  
  ret img_addBorder(img, color, border);
7  
}
8  
9  
static BufferedImage addBorderToImage(Color color, int border, BufferedImage img) {
10  
  ret img_addBorder(img, color, border);
11  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034221
Snippet name: addBorderToImage - synonym of img_addBorder
Eternal ID of this version: #1034221/4
Text MD5: 19514ca94b8fc90ab5b3ef7ca30e4c4a
Author: someone
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-04-29 05:35:23
Source code size: 404 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 152 / 203
Version history: 3 change(s)
Referenced in: [show references]