itemStrokeStyles

Each item's stroke style from a stroke style attribute — solid, dashed or dotted — one for every item, a list cycled item by item, or one per item from an application; null where the value gives an item none, which draws in the mark's default.

@internote/canvas-sdkFunction
On this page
import { itemStrokeStyles } from '@internote/canvas-sdk';

#Signature

(
    value: unknown,
    source: ItemSource | null,
    params: Record<string, number>,
    count?: number,
    order?: ReadonlyArray<number>,
): Array<StrokeStyle | null>

#Parameters

value
The attribute's value.
source
Where the readings come from; null for a mark of count items with no data behind them.
params
The live parameter values.
count
How many items there are, where source is null.
order
Each item's place in written order, which a written list cycles by.

Declared in packages/canvas-sdk/src/data/item-looks.ts:438.

Last updated