overlayRect property
The rectangle in this layer's coordinate system that the overlay should occupy.
The scene must be explicitly recomposited after this property is changed (as described at Layer).
Implementation
Rect get overlayRect => _overlayRect;
Implementation
set overlayRect(Rect value) {
if (value != _overlayRect) {
_overlayRect = value;
markNeedsAddToScene();
}
}