flatOpacity
Returns the opacity for position t, 0 to 1, along a single-colour surface's range: floor at the low end, fully opaque at the high end.
@internote/canvas-sdkOn this page
import { flatOpacity } from '@internote/canvas-sdk';Never all the way to nothing: a contour's rings are the mark, and a ring at zero opacity is a level the reader cannot see is there.
#Signature
(t: number, floor?: number): number#Parameters
tThe position along the value range.
floorThe opacity at the low end.
Declared in packages/canvas-sdk/src/paint/index.ts:306.