Class Canvas
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tiw.v20190919.models.Canvas
-
public class Canvas extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBackgroundColor()Get 背景颜色,默认为黑色,格式为RGB格式,如红色为"#FF0000"LayoutParamsgetLayoutParams()Get 混流画布宽高配置voidsetBackgroundColor(String BackgroundColor)Set 背景颜色,默认为黑色,格式为RGB格式,如红色为"#FF0000"voidsetLayoutParams(LayoutParams LayoutParams)Set 混流画布宽高配置voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
Canvas
public Canvas()
-
Canvas
public 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.
-
-
Method Detail
-
getLayoutParams
public LayoutParams getLayoutParams()
Get 混流画布宽高配置- Returns:
- LayoutParams 混流画布宽高配置
-
setLayoutParams
public void setLayoutParams(LayoutParams LayoutParams)
Set 混流画布宽高配置- Parameters:
LayoutParams- 混流画布宽高配置
-
getBackgroundColor
public String getBackgroundColor()
Get 背景颜色,默认为黑色,格式为RGB格式,如红色为"#FF0000"- Returns:
- BackgroundColor 背景颜色,默认为黑色,格式为RGB格式,如红色为"#FF0000"
-
setBackgroundColor
public void setBackgroundColor(String BackgroundColor)
Set 背景颜色,默认为黑色,格式为RGB格式,如红色为"#FF0000"- Parameters:
BackgroundColor- 背景颜色,默认为黑色,格式为RGB格式,如红色为"#FF0000"
-
-