maxZ method
Returns the maximum z-order in this subtree.
Implementation
int maxZ() {
var maxZ = z;
for (final child in _layers) {
maxZ = math.max(maxZ, child.maxZ());
}
return maxZ;
}
Returns the maximum z-order in this subtree.
int maxZ() {
var maxZ = z;
for (final child in _layers) {
maxZ = math.max(maxZ, child.maxZ());
}
return maxZ;
}