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

Method width

packages/fairygui/src/core/GObject.ts:223–229  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

221 // Size | 尺寸
222
223 public get width(): number {
224 this.ensureSizeCorrect();
225 if (this._relations?.sizeDirty) {
226 this._relations.ensureRelationsSizeCorrect();
227 }
228 return this._width;
229 }
230
231 public set width(value: number) {
232 this.setSize(value, this._rawHeight);

Callers

nothing calls this directly

Calls 3

ensureSizeCorrectMethod · 0.95
setSizeMethod · 0.95

Tested by

no test coverage detected