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

Method setupOverflow

packages/fairygui/src/core/GComponent.ts:688–693  ·  view source on GitHub ↗

* Setup overflow behavior * 设置溢出行为

(overflow: EOverflowType)

Source from the content-addressed store, hash-verified

686 * 设置溢出行为
687 */
688 protected setupOverflow(overflow: EOverflowType): void {
689 this._overflow = overflow;
690 if (overflow === EOverflowType.Hidden) {
691 this._clipRect = new Rectangle(0, 0, this._width, this._height);
692 }
693 }
694
695 // Construction from resource | 从资源构建
696

Callers 2

setup_beforeAddMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected