public class Canvas extends AbstractModel
| Constructor and Description |
|---|
Canvas() |
| 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 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 © 2021. All rights reserved.