edgeColor function
The average colour of a thin strip along one edge of a picture.
import { edgeColor } from '@dioramajs/model/box'function edgeColor(image: unknown, edge: Edge): Color | undefinedParameters
| Name | Type | Description |
|---|---|---|
image | unknown | |
edge | Edge |
Defined in packages/model/src/studio.ts.