Knowledge Hub


HTML Picture

Text

The Element Text displays a specified text.

Parameters

duration

The duration of the generated video

Type: Timestamp

Default: 1:00

text

The Text

Type: String

fontName

Font name

Type: String

Default: Roboto

style

Font style

Type: String

color

Color (#ffffff)

Type: String

Default: #ffffff

area

x,y coordinates of upper left corner, w/h - normalized 0..1

Type: String

Default: 0,0,1,1

weight

Font weight

Type: Double

Default: 0

lineHeight

Line height

Type: Double

Default: 1

align

Alignment: left / center / right

Type: String

Default: center

JSON Example

{
   "id": "someid",
   "type": "Text",

   "params": {
      "duration": "1:00",
      "text": " ",
      "fontName": "Roboto",
      "style": " ",
      "color": "#ffffff",
      "area": "0,0,1,1",
      "weight": "0",
      "lineHeight": "1",
      "align": "center"
   },
}