module ChunkyPNG::Canvas::Operations
def compose(other, offset_x = 0, offset_y = 0)
- See: #replace -
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 the new canvas, composed of the other 2.
Parameters:
-
(
) --
def compose(other, offset_x = 0, offset_y = 0) dup.compose!(other, offset_x, offset_y) end