新增 TextActor类 设置填充颜色接口 SetFillColor
This commit is contained in:
parent
9945837588
commit
3a3dda31e7
|
|
@ -43,4 +43,9 @@ class TextActor extends CL_BaseObject {
|
||||||
function SetOutline(width, color = Color.Black, cap = CapStyle.Square, line_join = LineJoinStyle.Round, dash = DashStyle.Solid) {
|
function SetOutline(width, color = Color.Black, cap = CapStyle.Square, line_join = LineJoinStyle.Round, dash = DashStyle.Solid) {
|
||||||
TextActor_SetOutLine(this.C_Object, width, color, cap, line_join, dash);
|
TextActor_SetOutLine(this.C_Object, width, color, cap, line_join, dash);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//设置填充颜色
|
||||||
|
function SetFillColor(Color) {
|
||||||
|
TextActor_SetFillColor(this.C_Object, Color);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue