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).

!7

p {
  BufferedImage img = newBufferedImage(300, 300, Color.white);
  Graphics2D g = imageGraphics(img);
  
  // to see if this interferes 
  g.setStroke(new BasicStroke(10));
  
  g.setColor(Color.black);
  drawArrowHead(g, 10, 10, 200, 100, 20);
  showImage(img);
}

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: 414 / 495
Version history: 4 change(s)
Referenced in: [show references]