mirror of
https://github.com/TangentFoxy/Pop.Box.git
synced 2024-12-15 12:44:20 +00:00
775 B
775 B
Skins
Skins are simply tables containing information on how to draw elements that have
been assigned them. Skins are loaded from Pop's skins
directory when you
require it.
background
- A Drawable drawn before theforeground
, or if a table, assumed to be a color and that color is used (iffalse
, is ignored).foreground
- A Drawable drawn after thebackground
, or if a table, assumed to be a color and that color is used (iffalse
, is ignored).draw(element)
- If defined, will be used to render an element instead of the standard drawing method.
Note: Supported Drawables: Canvas, Image, Video
TODO various text style infos!