text wip
This commit is contained in:
parent
a121a9b7c3
commit
7b1d361d69
@ -127,9 +127,19 @@ class ContentType(Enum):
|
|||||||
elif value == ContentType.TEXT:
|
elif value == ContentType.TEXT:
|
||||||
return json.dumps({
|
return json.dumps({
|
||||||
"textLabel": location if location else 'Hello',
|
"textLabel": location if location else 'Hello',
|
||||||
"fontSize": 12,
|
"fontSize": 20,
|
||||||
"color": '#FFFFFF',
|
"color": '#FFFFFFFF',
|
||||||
"backgroundColor": '#000000',
|
"fontFamily": "Arial",
|
||||||
|
"fontBold": None,
|
||||||
|
"fontItalic": None,
|
||||||
|
"fontUnderline": None,
|
||||||
|
"textAlign": "center",
|
||||||
|
"backgroundColor": '#000000FF',
|
||||||
|
"scrollEnable": False,
|
||||||
|
"scrollDirection": "left",
|
||||||
|
"scrollSpeed": "10",
|
||||||
|
"singleLine": False,
|
||||||
|
"margin": 0
|
||||||
})
|
})
|
||||||
|
|
||||||
return location
|
return location
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user