type CreateSceneOptions = object;Options for creating a video scene.
Properties#
| Property | Type | Description |
|---|---|---|
page? | object | The page options |
page.size | number | |
page.color? | Color | The background color of the page |
designUnit? | DesignUnit | The design unit of the new scene. Defaults to Pixel. |
fontSizeUnit? | SceneFontSizeUnit | The 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. |