SolidColorImagePattern
(color=(0, 0, 0, 0))¶Creates an image filled with a solid color.
Constructor:
__init__
(color=(0, 0, 0, 0))¶Create a solid image pattern with the given color.
Parameters: | color ((int, int, int, int)) – 4-tuple of ints in range [0,255] giving RGBA components of color to fill with. |
---|
Methods:
create_image
(width, height)