Reference · Rules, solvers and generation
FillingStyletype
How a filling is laid, where it need not be the way it always was: how often a line takes its tightest way on, and whether it may start beside the tightest cell as well as on it.
Import it
import type { FillingStyle } from "@johnmorrisdotca/tsunagi";
Definition
type FillingStyle = {
greed?: number;
looseStart?: boolean;
};
Members
| Name | Type | Description |
|---|---|---|
greed (optional) | number | undefined | |
looseStart (optional) | boolean | undefined |
Examples
import type { FillingStyle } from "@johnmorrisdotca/tsunagi";
const value: FillingStyle = {greed:0.5,looseStart:false};
console.log(value);{ greed: 0.5, looseStart: false }What it prints (run when this page was built)