Timeline Studio API Documentation - v0.26.0
Preparing search index...
features/style-templates/types/style-template
ElementProperties
Interface ElementProperties
interface
ElementProperties
{
backgroundColor
?:
string
;
borderColor
?:
string
;
borderRadius
?:
number
;
borderWidth
?:
number
;
color
?:
string
;
fontFamily
?:
string
;
fontSize
?:
number
;
fontWeight
?:
"bold"
|
"normal"
|
"light"
;
objectFit
?:
"fill"
|
"contain"
|
"cover"
;
opacity
?:
number
;
rotation
?:
number
;
scale
?:
number
;
src
?:
string
;
text
?:
string
;
textAlign
?:
"center"
|
"left"
|
"right"
;
[
key
:
string
]:
any
;
}
Indexable
[
key
:
string
]:
any
Index
Properties
background
Color?
border
Color?
border
Radius?
border
Width?
color?
font
Family?
font
Size?
font
Weight?
object
Fit?
opacity?
rotation?
scale?
src?
text?
text
Align?
Properties
Optional
background
Color
backgroundColor
?:
string
Optional
border
Color
borderColor
?:
string
Optional
border
Radius
borderRadius
?:
number
Optional
border
Width
borderWidth
?:
number
Optional
color
color
?:
string
Optional
font
Family
fontFamily
?:
string
Optional
font
Size
fontSize
?:
number
Optional
font
Weight
fontWeight
?:
"bold"
|
"normal"
|
"light"
Optional
object
Fit
objectFit
?:
"fill"
|
"contain"
|
"cover"
Optional
opacity
opacity
?:
number
Optional
rotation
rotation
?:
number
Optional
scale
scale
?:
number
Optional
src
src
?:
string
Optional
text
text
?:
string
Optional
text
Align
textAlign
?:
"center"
|
"left"
|
"right"
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
background
Color
border
Color
border
Radius
border
Width
color
font
Family
font
Size
font
Weight
object
Fit
opacity
rotation
scale
src
text
text
Align
Timeline Studio API Documentation - v0.26.0
Loading...