Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

EN

@shumoku/core · 0.6.1 · function

groupHueOf

ソース

APIの説明は英語のcanonical sourceを表示しています。

The hue a group is drawn in: one of the hues the tone tells apart, picked by its id (FNV-1a), so it needs nothing but the group and is the same wherever the group is drawn.

groupHueOf(tone: GroupTone, id: string): number

パラメーター

名前 型 説明 既定値
tone GroupTone 追加説明はありません。 —
id string 追加説明はありません。 —

戻り値

number

libs/@shumoku/core/src/libs/@shumoku/core/src/themes/group-tone.ts:73