class ChunkyPNG::Canvas
def initialize_copy(other)
- Private: -
Returns:
-
(void)
-
Parameters:
-
other
(ChunkyPNG::Canvas
) -- The canvas to duplicate
def initialize_copy(other) @width, @height = other.width, other.height @pixels = other.pixels.dup end