Skip to main content

AlignNode Class

Description:

  A class for creating AlignNode objects.

__call

Type: Metamethod.

Description:

  Creates a new AlignNode.

Signature:

metamethod __call: function(self: AlignNodeClass, isWindowRoot?: boolean): AlignNode

Parameters:

ParameterTypeDescription
isWindowRootboolean[optional] Whether the node is a window root node. A window root node will automatically listen for window size change events and update the layout accordingly.

Returns:

Return TypeDescription
AlignNodeThe created AlignNode object.