Blurred

class Blurred(val radius: Float = 0.04f, val dim: Float = 0.0f) : Fill(source)

The clip's own frame, scaled to cover the output and blurred, behind everything.

The background is the frame scaled uniformly until it covers the output, centre-cropped, then blurred. A gap where no clip plays has no frame to blur, and fills with black instead.

Constructors

Link copied to clipboard
constructor(radius: Float = 0.04f, dim: Float = 0.0f)

Properties

Link copied to clipboard
val dim: Float

How far the background is darkened toward black, in 0f..1f. The background's encoded color channels are multiplied by 1 - dim, so 0f leaves it alone, 0.5f halves the stored value and 1f is black. The multiply lands on the encoded value rather than on linear light, so a backend whose color pipeline works in linear light compensates for its own transfer curve. Applies only to the background, never to the clip's own pixels.

Link copied to clipboard

The blur's standard deviation as a fraction of the output frame's shorter side, in 0f..1f, so the same edit blurs identically at any export resolution.