documentation index ◦ reference manual ◦ function index
Function: | Solid | (color): |
Returns a Displayable that is solid, and filled with a single color. A Solid expands to fill all the space allocated to it, making it suitable for use as a background.
color - The color that the display will be filled with, given either as an RGBA tuple, or an html-style string
init: image black = Solid((0, 0, 0, 255)) image MediumVioletRed = Solid("#c71585")