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

Method setSkew

packages/fairygui/src/core/GObject.ts:366–373  ·  view source on GitHub ↗
(sx: number, sy: number)

Source from the content-addressed store, hash-verified

364 }
365
366 public setSkew(sx: number, sy: number): void {
367 if (this._skewX !== sx || this._skewY !== sy) {
368 this._skewX = sx;
369 this._skewY = sy;
370 this.handleSkewChanged();
371 this.applyPivot();
372 }
373 }
374
375 // Pivot | 轴心
376

Callers 4

skewXMethod · 0.95
skewYMethod · 0.95
setup_beforeAddMethod · 0.95
applyValueMethod · 0.80

Calls 2

handleSkewChangedMethod · 0.95
applyPivotMethod · 0.95

Tested by

no test coverage detected