白鷺引擎 egret api 範例補完計畫, eui 庫的應用請先看 EUI 如何開始 的文章!
文本對齊方式
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);
沒有留言:
張貼留言