熱門文章

Ⓒegret.HorizontalAlign 用法

文本對齊方式

let tf = new egret.TextField();
tf.width = 500;
tf.height = 30;
tf.text = "edwin";
tf.border = true;
tf.textAlign = egret.HorizontalAlign.RIGHT;
this.addChild(tf);

沒有留言:

張貼留言