expandBounds method
Expands the filter's bounds to include the blur effect.
The layerBounds
parameter is the original bounds of the content.
The outputBounds
parameter is the expanded bounds of the filter.
Implementation
@override
void expandBounds(GRect layerBounds, GRect outputBounds) {
_rect.copyFrom(layerBounds).inflate(blurX, blurY);
outputBounds.expandToInclude(_rect);
}