public class ComposeCanvas extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ComposeCanvas() | 
| ComposeCanvas(ComposeCanvas source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getColor()Get The RGB value of the background color. | 
| Long | getHeight()Get The canvas height (px), which is the height of the output video. | 
| Long | getWidth()Get The canvas width (px), which is the width of the output video. | 
| void | setColor(String Color)Set The RGB value of the background color. | 
| void | setHeight(Long Height)Set The canvas height (px), which is the height of the output video. | 
| void | setWidth(Long Width)Set The canvas width (px), which is the width of the output video. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ComposeCanvas()
public ComposeCanvas(ComposeCanvas source)
public String getColor()
public void setColor(String Color)
Color - The RGB value of the background color. The format is #RRGGBB, such as `#F0F0F0`. 
Default value: `#000000` (black).public Long getWidth()
public void setWidth(Long Width)
Width - The canvas width (px), which is the width of the output video. Value range: 0–3840.  
The default value is `0`, which means that the canvas is as wide as the first video.public Long getHeight()
public void setHeight(Long Height)
Height - The canvas height (px), which is the height of the output video. Value range: 0–3840.  
The default value is `0`, which means that the canvas is as high as the first video.Copyright © 2025. All rights reserved.