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

13
LINES

< > BotCompany Repo | #1007306 // Test drawArrowHead

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (6317L/44K/153K).

1  
!7
2  
3  
p {
4  
  BufferedImage img = newBufferedImage(300, 300, Color.white);
5  
  Graphics2D g = imageGraphics(img);
6  
  
7  
  // to see if this interferes 
8  
  g.setStroke(new BasicStroke(10));
9  
  
10  
  g.setColor(Color.black);
11  
  drawArrowHead(g, 10, 10, 200, 100, 20);
12  
  showImage(img);
13  
}

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: #1007306
Snippet name: Test drawArrowHead
Eternal ID of this version: #1007306/5
Text MD5: 2839102b761a62085a4e04a2a1bba3df
Transpilation MD5: 56acc93517443aee541368f27281a305
Author: stefan
Category: javax / gui
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-15 00:56:36
Source code size: 282 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 477 / 583
Version history: 4 change(s)
Referenced in: [show references]