module ChunkyPNG::Canvas::Operations
def replace(other, offset_x = 0, offset_y = 0)
- See: #compose -
Other tags:
- Note: - API changed since 1.0 - This method now no longer is in place,
Raises:
-
(ChunkyPNG::OutOfBounds)
- when the other canvas doesn't fit on
Returns:
-
(ChunkyPNG::Canvas)
- Returns a new, combined canvas.
Parameters:
-
(
) --
def replace(other, offset_x = 0, offset_y = 0) dup.replace!(other, offset_x, offset_y) end