add Backdrop
fun addBackdrop(name: String, dataFormat: String, assetId: String, rotationCenter: Pair<Double, Double>? = null, bitmapResolution: Int = 1, path: Path? = null): Backdrop
Adds a backdrop to the stage.
Parameters
name
The name of the backdrop.
data Format
The format of the asset.
asset Id
The MD5 hash of the asset file.
rotation Center
The center of rotation.
bitmap Resolution
The resolution for bitmap images.
path
The local path to the asset file.
Adds a backdrop from a local file.
Parameters
path
The path to the backdrop file.
name
The name for the backdrop.