draw_type optional |
:: "inner" or
"outer"
|
Defines whether the border should be drawn inside the widget, which affects the padding and content size of the widget, or outside of the widget which doesn't affect size. |
Defines whether the border should be drawn inside the widget, which affects the padding and content size of the widget, or outside of the widget which doesn't affect size. |
||
type optional |
:: "none" or
"composition"
|
|
tint optional | :: Color |
Only loaded if |
Only loaded if |
||
center optional | :: Sprite |
Only loaded if |
Only loaded if |
||
left optional | :: Sprite |
Only loaded if |
Only loaded if |
||
left_top optional | :: Sprite |
Only loaded if |
Only loaded if |
||
left_bottom optional | :: Sprite |
Only loaded if |
Only loaded if |
||
right optional | :: Sprite |
Only loaded if |
Only loaded if |
||
right_top optional | :: Sprite |
Only loaded if |
Only loaded if |
||
right_bottom optional | :: Sprite |
Only loaded if |
Only loaded if |
||
top optional | :: Sprite |
Only loaded if |
Only loaded if |
||
bottom optional | :: Sprite |
Only loaded if |
Only loaded if |
||
corner_size optional | :: uint16 or {uint16, uint16} |
If this is a tuple, the first member of the tuple is width and the second is height. |
If this is a tuple, the first member of the tuple is width and the second is height. |
||
filename optional | :: FileName |
Only loaded if |
Only loaded if |
||
position optional | :: MapPosition |
Mandatory if |
Mandatory if |
||
load_in_minimal_mode optional | :: bool |
Only loaded if |
Only loaded if |
||
top_width optional | :: SpriteSizeType |
Only loaded if |
Only loaded if |
||
bottom_width optional | :: SpriteSizeType |
Only loaded if |
Only loaded if |
||
left_height optional | :: SpriteSizeType |
Only loaded if |
Only loaded if |
||
right_height optional | :: SpriteSizeType |
Only loaded if |
Only loaded if |
||
center_width optional | :: SpriteSizeType |
Only loaded if |
Only loaded if |
||
center_height optional | :: SpriteSizeType |
Only loaded if |
Only loaded if |
||
scale optional | :: double |
Only loaded if |
Only loaded if |
||
top_border optional | :: int32 |
Only loaded if |
Only loaded if |
||
right_border optional | :: int32 |
Only loaded if |
Only loaded if |
||
bottom_border optional | :: int32 |
Only loaded if |
Only loaded if |
||
left_border optional | :: int32 |
Only loaded if |
Only loaded if |
||
border optional | :: int32 |
Sets |
Sets |
||
stretch_monolith_image_to_size optional | :: bool |
Only loaded if |
Only loaded if |
||
left_tiling optional | :: bool |
Tiling is used to make a side (not corner) texture repeat instead of being stretched. |
Tiling is used to make a side (not corner) texture repeat instead of being stretched. |
||
right_tiling optional | :: bool |
|
top_tiling optional | :: bool |
|
bottom_tiling optional | :: bool |
|
center_tiling_vertical optional | :: bool |
|
center_tiling_horizontal optional | :: bool |
|
overall_tiling_horizontal_size optional | :: uint16 |
Overall tiling is used to make the overall texture repeat instead of being stretched. |
Overall tiling is used to make the overall texture repeat instead of being stretched. |
||
overall_tiling_horizontal_spacing optional | :: uint16 |
|
overall_tiling_horizontal_padding optional | :: uint16 |
|
overall_tiling_vertical_size optional | :: uint16 |
|
overall_tiling_vertical_spacing optional | :: uint16 |
|
overall_tiling_vertical_padding optional | :: uint16 |
|
custom_horizontal_tiling_sizes optional | :: array[uint32] |
|
opacity optional | :: double |
|
background_blur optional | :: bool |
|
background_blur_sigma optional | :: float |
|
top_outer_border_shift optional | :: int32 |
|
bottom_outer_border_shift optional | :: int32 |
|
right_outer_border_shift optional | :: int32 |
|
left_outer_border_shift optional | :: int32 |
|
{
-- How an ElementImageSet is loaded which has only one layer, which uses the corner_size shown in the diagram
base = {position = {0, 17}, corner_size = 8}
}