public class Canvas extends AbstractModel
构造器和说明 |
---|
Canvas() |
限定符和类型 | 方法和说明 |
---|---|
String |
getBackgroundColor()
获取背景颜色,默认为黑色,格式为RGB格式,如红色为"#FF0000"
|
LayoutParams |
getLayoutParams()
获取混流画布宽高配置
|
void |
setBackgroundColor(String BackgroundColor)
设置背景颜色,默认为黑色,格式为RGB格式,如红色为"#FF0000"
|
void |
setLayoutParams(LayoutParams LayoutParams)
设置混流画布宽高配置
|
void |
toMap(HashMap<String,String> map,
String prefix)
内部实现,用户禁止调用
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public LayoutParams getLayoutParams()
public void setLayoutParams(LayoutParams LayoutParams)
LayoutParams
- 混流画布宽高配置public String getBackgroundColor()
public void setBackgroundColor(String BackgroundColor)
BackgroundColor
- 背景颜色,默认为黑色,格式为RGB格式,如红色为"#FF0000"Copyright © 2019. All rights reserved.