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 背景颜色,默认为黑色,格式为RGB格式,如红色为"#FF0000"
|
LayoutParams |
getLayoutParams()
Get 混流画布宽高配置
|
void |
setBackgroundColor(String BackgroundColor)
Set 背景颜色,默认为黑色,格式为RGB格式,如红色为"#FF0000"
|
void |
setLayoutParams(LayoutParams LayoutParams)
Set 混流画布宽高配置
|
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, toJsonString
public Canvas()
public Canvas(Canvas source)
public LayoutParams getLayoutParams()
public void setLayoutParams(LayoutParams LayoutParams)
LayoutParams
- 混流画布宽高配置public String getBackgroundColor()
public void setBackgroundColor(String BackgroundColor)
BackgroundColor
- 背景颜色,默认为黑色,格式为RGB格式,如红色为"#FF0000"Copyright © 2021. All rights reserved.