mirror of
https://github.com/vcmi/vcmi.git
synced 2025-04-09 07:13:54 +02:00
docs
This commit is contained in:
parent
58dfc55ca3
commit
182d762135
@ -517,6 +517,22 @@ Configurable object has following structure:
|
||||
|
||||
`"text"`: [text](#text),
|
||||
|
||||
### TextBox
|
||||
|
||||
`"type": "textBox"`
|
||||
|
||||
`"name": "string"` optional, object name
|
||||
|
||||
`"font"`: [font](#font)
|
||||
|
||||
`"alignment"`: [alignment](#text-alignment),
|
||||
|
||||
`"color"`: [color](#color),
|
||||
|
||||
`"text"`: [text](#text),
|
||||
|
||||
`"rect"`: [rect](#rect)
|
||||
|
||||
### Picture
|
||||
|
||||
`"type": "picture"`
|
||||
@ -559,6 +575,18 @@ Filling area with texture
|
||||
|
||||
`"rect"`: [rect](#rect)
|
||||
|
||||
### TransparentFilledRectangle
|
||||
|
||||
`"type": "transparentFilledRectangle"`
|
||||
|
||||
`"name": "string"` optional, object name
|
||||
|
||||
`"color"`: [color](#color) fill color of rectangle (supports transparency)
|
||||
|
||||
`"colorLine"`: [color](#color) optional, 1px border color
|
||||
|
||||
`"rect"`: [rect](#rect)
|
||||
|
||||
### Animation
|
||||
|
||||
`"type": "animation"`
|
||||
|
Loading…
x
Reference in New Issue
Block a user