MCPcopy Create free account
hub / github.com/esengine/esengine / makeFullScreen

Method makeFullScreen

packages/fairygui/src/core/GObject.ts:305–310  ·  view source on GitHub ↗

* Make this object fill the screen * 使此对象填满屏幕

()

Source from the content-addressed store, hash-verified

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);

Callers

nothing calls this directly

Calls 1

setSizeMethod · 0.95

Tested by

no test coverage detected