Page 1 of 1

How do I copy a rectangle from canvas (paster)

PostPosted: Tue Jan 05, 2016 9:07 pm
by frcol
How can I copy a rectangle from canvas to put into paster (@R0J0hound)?

I want to move a Form with HTML elements, and it´s not possible.
So, the solution that I found is to use paster to copy de background and move the paster instead of the Form.

Any tips in how to use paster in this way (copy a portion of the canvas) or any other solution for the problem (Move HTML components)?

Re: How do I copy a rectangle from canvas (paster)

PostPosted: Tue Jan 05, 2016 9:57 pm
by LittleStain
Well, the HTML-element isn't a part of the canvas, but a DOM-element..
How are you creating this form and why is moving it not possible?

Re: How do I copy a rectangle from canvas (paster)

PostPosted: Tue Jan 05, 2016 10:19 pm
by frcol
If you move the "cam" or the HTML element with Tween (for example), it moves with bug, not in a smooth way.

Re: How do I copy a rectangle from canvas (paster)

PostPosted: Tue Jan 05, 2016 10:31 pm
by LittleStain
frcol wrote:If you move the "cam" or the HTML element with Tween (for example), it moves with bug, not in a smooth way.


True, that's because the element isn't part of the canvas..

Re: How do I copy a rectangle from canvas (paster)

PostPosted: Wed Jan 06, 2016 10:47 am
by frcol
So, the solution I found is copy it in paster. But now, I think paster will not copy HTML elements too, correct?

No solution for moving HTML elements?

Re: How do I copy a rectangle from canvas (paster)

PostPosted: Wed Jan 06, 2016 11:21 am
by zenox98
As is stated in the manual, all Form elements - Text, TextBox, Slider etc - are not part of the Canvas and are rendered above it, so it's unlikely Canvas or Poster will be of use.