setFillColor abstract method
Set fill color
Parameter color
Color. Valid value range: 0, 1
.
Returns
- ResultCode.OK Success
- Others: Fail
Note The color will be onset only the filltype is WbFileType.Color
设置填充颜色
Parameter color
颜色。有效值范围:0, 1
。
Returns
- ResultCode.OK: 成功
- Others: 失败
Note 填充类型为WbFileType.Color时, 此设置方能起效。
Implementation
Future<ResultCode> setFillColor(WBColor color);