新增 TextActor类 设置填充颜色接口 SetFillColor

This commit is contained in:
Lenheart 2024-12-13 20:52:06 +08:00 committed by WONIU
parent 9945837588
commit 3a3dda31e7
1 changed files with 5 additions and 0 deletions

View File

@ -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) {
TextActor_SetOutLine(this.C_Object, width, color, cap, line_join, dash);
}
//设置填充颜色
function SetFillColor(Color) {
TextActor_SetFillColor(this.C_Object, Color);
}
}