module ChunkyPNG::Canvas::Operations

def replace(other, offset_x = 0, offset_y = 0)

Other tags:
    See: #compose -

Other tags:
    Note: - API changed since 1.0 - This method now no longer is in place, but returns

Raises:
  • (ChunkyPNG::OutOfBounds) - when the other canvas doesn't fit on this one,

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