gap function
Distance between two convex outlines on screen, px; negative when they overlap.
import { gap } from '@dioramajs/text/tunnel'function gap(a: readonly Point[], b: readonly Point[]): numberParameters
| Name | Type | Description |
|---|---|---|
a | readonly Point[] | |
b | readonly Point[] |
Defined in packages/text/src/tunnel.ts.