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

3
LINES

< > BotCompany Repo | #1035962 // cloneGraphics - clone a Graphics2D object

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

Libraryless. Click here for Pure Java version (33L/1K).

static Graphics2D cloneGraphics(Graphics2D g) {
  ret (Graphics2D) g.create();
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1035962
Snippet name: cloneGraphics - clone a Graphics2D object
Eternal ID of this version: #1035962/1
Text MD5: dfd129e62be5d9bcafc5675642e60332
Transpilation MD5: 69b6a3847a09b4dd1740d91761eab59e
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-08-20 16:47:20
Source code size: 82 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 54 / 78
Referenced in: [show references]