Skip to content
mohayonao edited this page Aug 11, 2014 · 1 revision

copy

Syntax

canvas.copy(x1, y1, x2, y2);

Parameters

  • x1: int
    • x-coordinate of the first point for copying
  • y1: int
    • y-coordinate of the first point for copying
  • x2: int
    • x-coordinate of the second point for copying
  • y2: int
    • y-coordinate of the second point for copying

Returns

Canvas: copied instance

Related

Clone this wiki locally