module ChunkyPNG::Canvas::Operations
def border(size, color = ChunkyPNG::Color::BLACK)
- See: #border! -
Returns:
-
(ChunkyPNG::Canvas)
- Returns a bordered version of the image.
Parameters:
-
color
(Integer
) -- The color of the border. -
size
(Integer
) -- The size of the border.
def border(size, color = ChunkyPNG::Color::BLACK) dup.border!(size, color) end