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

6
LINES

< > BotCompany Repo | #1030569 - drawRotatedRoundEdgeLine

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

Libraryless. Click here for Pure Java version (2876L/17K).

svoid drawRotatedRoundEdgeLine(Graphics2D g, Pt center, double angle, double length, Color color, double width) {
  drawRoundEdgeLine(g,
    pointOnCircle(center, length/2, angle),
    pointOnCircle(center, length/2, angle+pi()),
    color, width);
}

Author comment

Began life as a copy of #1006925

download  show line numbers  debug dex   

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

No comments. add comment

Snippet ID: #1030569
Snippet name: drawRotatedRoundEdgeLine
Eternal ID of this version: #1030569/1
Text MD5: 01d89ed7ffe0454bfb540b60af891bad
Transpilation MD5: 8a9483fa445438b3c7f228d2e9e3b3d5
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-01-07 22:37:38
Source code size: 255 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 18 / 25
Referenced in: [show references]

Formerly at http://tinybrain.de/1030569 & http://1030569.tinybrain.de