type AddImageOptions = object;
Options for adding images to the scene.
Properties#
Property | Type | Description |
---|---|---|
sizeMode? | SizeMode | How the image should be sized and positioned |
positionMode? | PositionMode | How the position should be interpreted |
x? | number | X position in scene design units |
y? | number | Y position in scene design units |
cornerRadius? | number | Corner radius for rounded corners in scene design units |
size? | number | |
timeline? | object | Timeline configuration for video scenes |
timeline.timeOffset? | number | Start time offset in seconds |
timeline.duration? | number | Duration in seconds |
shadow? | DropShadowOptions | Drop shadow configuration |
animation? | AnimationOptions | Animation configuration |