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

Method applyPivot

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

Source from the content-addressed store, hash-verified

427 }
428
429 protected applyPivot(): void {
430 if (this._pivotX !== 0 || this._pivotY !== 0) {
431 this.updatePivotOffset();
432 this.handleXYChanged();
433 }
434 }
435
436 // Visibility and Interaction | 可见性和交互
437

Callers 4

setSizeMethod · 0.95
setScaleMethod · 0.95
setSkewMethod · 0.95
rotationMethod · 0.95

Calls 2

updatePivotOffsetMethod · 0.95
handleXYChangedMethod · 0.95

Tested by

no test coverage detected