TreeAction.filterAfterDraw

Determine whether beforeDraw and afterDraw should be called for the given node.

By default, this is used to filter out all nodes except for startNode and its children, and to keep the action from starting in the middle of the tree. Subclasses may change this to adjust this behavior.

class TreeAction
bool
filterAfterDraw

Parameters

node Node

Node that is subject to the hook call.

Return Value

Type: bool

For filterBeforeDraw, true if beforeDraw is to be called for this node. For filterAfterDraw, true if afterDraw is to be called for this node.

Meta