Background
| Category | refcounted |
| Type | hime_background_t |
| Inherits | Object |
Background of View.
Constructors
hime_background_t hime_background_create_solid(color)
Create a background that fills the canvas in the specified color.
Parameters
hime_color_tcolor
Return
hime_background_thime_background_t hime_background_create_themed_solid(color_id)
Same with CreateSolid except it uses the color specified by the views's ColorProvider and the given color identifier.
Parameters
hime_color_id_tcolor_id
Return
hime_background_thime_background_t hime_background_create_rounded_rect(color, border, radius)
Create a background that fills the canvas with rounded corners.
If using a rounded rect border as well, pass its radius as radius and
its thickness as border. This will inset the background properly so it
doesn't bleed through the border.
Parameters
hime_color_tcolorintborderfloatradius
Return
hime_background_thime_background_t hime_background_create_themed_rounded_rect(color_id, border, radius)
Same with CreateThemedSolid except it uses the color specified by the views's ColorProvider and the given color identifier.
Parameters
hime_color_id_tcolor_idintborderfloatradius
Return
hime_background_t