Appearance
Interface: BackgroundIr ​
A slide's background, already reduced to what the write API's background accepts.
data rather than image, because BackgroundProps is DataOrPathProps & ShapeFillProps and data is the key it actually reads — an image key would print, typecheck against IrValue, and be ignored at run time.
type, gradient and pattern are the ShapeFillProps keys a non-solid background is spelled with, the same values a shape's fill carries for the same elements.
Properties ​
color? ​
optionalcolor?:string
data? ​
optionaldata?:AssetRef
gradient? ​
optionalgradient?:IrValue
pattern? ​
optionalpattern?:IrValue
transparency? ​
optionaltransparency?:number
type? ​
optionaltype?:"pattern"|"gradient"