public class Canvas extends AbstractModel
| Constructor and Description | 
|---|
| Canvas() | 
| Canvas(Canvas 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 | getBackgroundColor()Get Background color, which is black by default. | 
| LayoutParams | getLayoutParams()Get Width and height of the mixed stream canvas | 
| void | setBackgroundColor(String BackgroundColor)Set Background color, which is black by default. | 
| void | setLayoutParams(LayoutParams LayoutParams)Set Width and height of the mixed stream canvas | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic Canvas()
public Canvas(Canvas source)
public LayoutParams getLayoutParams()
public void setLayoutParams(LayoutParams LayoutParams)
LayoutParams - Width and height of the mixed stream canvaspublic String getBackgroundColor()
public void setBackgroundColor(String BackgroundColor)
BackgroundColor - Background color, which is black by default. Its format is RGB. for example, "#FF0000" for the red color.Copyright © 2022. All rights reserved.