CrossSumsDrawOptionstype
Current CrossSums marks or entries, selection, errors and native SVG appearance choices.
Import it
import type { CrossSumsDrawOptions } from "@johnmorrisdotca/kazu/cross-sums";
Also exported from: @johnmorrisdotca/kazu/cross-sums/draw, @johnmorrisdotca/kazu
Definition
type CrossSumsDrawOptions = {
values?: readonly number[];
notes?: readonly (readonly number[])[];
selected?: number;
material?: CrossSumsMaterial;
pieces?: CrossSumsPieces;
errors?: readonly number[];
};
Members
| Name | Type | Description |
|---|---|---|
values (optional) | readonly number[] | undefined | |
notes (optional) | readonly (readonly number[])[] | undefined | |
selected (optional) | number | undefined | |
material (optional) | CrossSumsMaterial | undefined | |
pieces (optional) | CrossSumsPieces | undefined | |
errors (optional) | readonly number[] | undefined |
Examples
import type { CrossSumsDrawOptions } from "@johnmorrisdotca/kazu/cross-sums";
const value: CrossSumsDrawOptions = {material:"ivory"};
console.log(value);{ material: 'ivory' }What it prints (run when this page was built)