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

7
LINES

< > BotCompany Repo | #1031987 // rotateGraphicsClockwise_radians

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

Transpiled version (55L) is out of date.

1  
import java.awt.geom.AffineTransform;
2  
3  
svoid rotateGraphicsClockwise_radians(Graphics2D g, double angle) {
4  
  AffineTransform at = g.getTransform();
5  
  at.rotate(angle);
6  
  g.setTransform(at);
7  
}

Author comment

Began life as a copy of #1031986

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1031987
Snippet name: rotateGraphicsClockwise_radians
Eternal ID of this version: #1031987/4
Text MD5: e8c60c2a598456a44ba5387e6dcd2a8d
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-17 15:36:39
Source code size: 197 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 84 / 127
Version history: 3 change(s)
Referenced in: [show references]