Type Alias: BlurRegionOptions
ts
type BlurRegionOptions =
| {
height: SizeValue;
strength?: number;
width: SizeValue;
x: SizeValue;
y: SizeValue;
}
| {
faces: true;
strength?: number;
};Defined in: ops/effects.ts:267
Options for blurRegion: a rectangle, or all detected faces.
Union Members
Type Literal
ts
{
height: SizeValue;
strength?: number;
width: SizeValue;
x: SizeValue;
y: SizeValue;
}| Name | Type | Description | Defined in |
|---|---|---|---|
height | SizeValue | Region height in px or percent. | ops/effects.ts:272 |
strength? | number | Blur strength, 0..5000 (CDN default 10). | ops/effects.ts:278 |
width | SizeValue | Region width in px or percent. | ops/effects.ts:270 |
x | SizeValue | Region left offset in px or percent. | ops/effects.ts:274 |
y | SizeValue | Region top offset in px or percent. | ops/effects.ts:276 |
Type Literal
ts
{
faces: true;
strength?: number;
}| Name | Type | Description | Defined in |
|---|---|---|---|
faces | true | Blur every detected face instead of a fixed region. | ops/effects.ts:282 |
strength? | number | Blur strength, 0..5000 (CDN default 10). | ops/effects.ts:284 |