Search Docs
Loading...
Skip to content

Type Alias: CreateSceneOptions

type CreateSceneOptions = object;

Options for creating a video scene.

Properties#

PropertyTypeDescription
page?objectThe page options
page.sizenumber
page.color?ColorThe background color of the page
designUnit?DesignUnitThe design unit of the new scene. Defaults to Pixel.
fontSizeUnit?SceneFontSizeUnitThe unit in which font sizes for setTextFontSize and getTextFontSizes are interpreted. If omitted, it is paired with designUnit: Pixel scenes get Pixel, all other scenes get Point.