Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to copy from one canvas to another

I want to copy the image drawn in one canvas (details) into another canvas. The commonly discussed solution of using bitmaps will not work because the Bitmap class does not have many of the important methods belonging to the Canvas class. Are there any other solutions?

like image 302
Steven Bluen Avatar asked Oct 04 '10 02:10

Steven Bluen


People also ask

Can I copy a page from one canvas course to another?

On the Design Tools menu, Select Create/Edit Content, and then select Copy Existing Content. In the "Copy page content by URL" box, paste the content page URL that you copied earlier, and then click the retrieve page icon to the right of the text box.

How do I copy and paste on a canvas page?

Ctrl + V (for Windows) or Cmd + V (for Mac) for pasting content. You can use this keyboard shortcut for text, images, files, folders, and links.


1 Answers

A Canvas is always used to draw either on screen or onto a Bitmap. The solution of using Bitmaps works perfectly well: create a Bitmap, create a Canvas to draw onto that Bitmap, then draw the Bitmap onto another Canvas. You also record all drawing commands in a Picture and replay them on a different Canvas.

like image 59
Romain Guy Avatar answered Oct 25 '22 07:10

Romain Guy