参考链接:旋转模式 代码:
// this.stage.orientation = egret.OrientationMode.AUTO;
// this.stage.orientation = egret.OrientationMode.PORTRAIT;
// this.stage.orientation = egret.OrientationMode.LANDSCAPE_FLIPPED;
this.stage.orientation = egret.OrientationMode.LANDSCAPE;
const text = new egret.TextField();
text.text = "ProsperLee Lee";
this.addChild(text);