Skip to content

1681-engine / pixel / DitherVignetteOptions

Interface: DitherVignetteOptions ​

Defined in: src/pixel/DitherVignette.ts:39

Properties ​

color? ​

ts
optional color?: number;

Defined in: src/pixel/DitherVignette.ts:41

The edge's colour (default black).


from? ​

ts
optional from?: number;

Defined in: src/pixel/DitherVignette.ts:43

How far from the centre toward a corner the edge begins, 0..1 (default 0.55).

Released under the MIT License.