* Make this object fill the screen * 使此对象填满屏幕
()
| 303 | * 使此对象填满屏幕 |
| 304 | */ |
| 305 | public makeFullScreen(): void { |
| 306 | const root = this.root; |
| 307 | if (root) { |
| 308 | this.setSize(root.width, root.height); |
| 309 | } |
| 310 | } |
| 311 | |
| 312 | public get actualWidth(): number { |
| 313 | return this.width * Math.abs(this._scaleX); |