groupLookOf
Returns what a mark's groups give it: the hue of the first that has one, and the stroke of the first that pins one.
@internote/canvas-sdkOn this page
import { groupLookOf } from '@internote/canvas-sdk';A mark's own colour or stroke beats its group's: the environment gives the mark what this returns only where the mark has not written its own (isAuthored).
#Signature
(groups: readonly GroupLook[], names: readonly string[]): GroupPin#Parameters
groupsThe environment's groups, from
groupLooks.namesThe groups the mark names, in the order written.
Declared in packages/canvas-sdk/src/footer/keys.ts:193.