Skip to content

LayoutOptions

Defined in: packages/fingerprint/src/types.ts:66

Everything layoutFingerprint takes besides the data.

optional encoding?: Encoding

Defined in: packages/fingerprint/src/types.ts:68

Which dimension drives what. Defaults to the first dimension arranging, colouring and shaping.


optional form?: Partial<FingerprintForm>

Defined in: packages/fingerprint/src/types.ts:72

Overrides the print’s form. formFromItems derives one from the data.


optional maxMarks?: number

Defined in: packages/fingerprint/src/types.ts:78

Above this many items, marks stand for several items each. Defaults to 600, the most marks a canvas glides smoothly (see FingerprintCanvas’s motion); raise it for denser prints. A layout can exceed it slightly, since every combination of encoded categories needs a mark.


optional minRidges?: number

Defined in: packages/fingerprint/src/types.ts:80

Ridges never sit further apart than the frame’s half-width divided by this. Defaults to 6.


optional seed?: string

Defined in: packages/fingerprint/src/types.ts:70

Seeds any form field not given, and nothing else. Same seed, same picture.