renpy/doc/reference/functions/Solid

From Ren'Py Visual Novel Engine

< renpy | doc | reference | functions(Redirected from Solid)
Jump to: navigation, search

Solid

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

Example

init:
    image black = Solid((0, 0, 0, 255))
    image MediumVioletRed = Solid("#c71585")


Personal tools