blur

Softens everything inside it, by radius: the component's content, its border and its children.

The blur fades into transparency around the content, and its falloff takes paint outsets. A Foundation container grows the component's bounds by them while its layout bounds stay; any other parent clips what is painted past the bounds. paintOutsets(PaintOutsets.None) gives them layout space under either. A clip declared before this can still cut the halo.

Request a repaint when the drawn content changes; otherwise the old content may stay on screen.

Return

this chain with the blur declared on it.

Parameters

radius

how far each pixel is spread, in the component's own units; 0 or less softens nothing.