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.

import java.awt.geom.AffineTransform;

svoid rotateGraphicsClockwise_radians(Graphics2D g, double angle) {
  AffineTransform at = g.getTransform();
  at.rotate(angle);
  g.setTransform(at);
}

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: 150 / 210
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1032178 - rotateGraphicsClockwise_degrees