Method: Magick::Image#background_color=

Defined in:
ext/RMagick/rmimage.cpp

#background_color=(color) ⇒ Magick::Pixel, String

Set the the background color to the specified color spec.

Parameters:

Returns:



1337
1338
1339
1340
1341
1342
1343
# File 'ext/RMagick/rmimage.cpp', line 1337

VALUE
Image_background_color_eq(VALUE self, VALUE color)
{
    Image *image = rm_check_frozen(self);
    Color_to_PixelColor(&image->background_color, color);
    return color;
}