@shumoku/core · 0.5.0 · function
lineColors
APIの説明は英語のcanonical sourceを表示しています。
`count` colours of a tone, as `#rrggbb`: hues evenly spaced from the tone's, at the least chroma that keeps them told apart. `undefined` when the tone has no room for that many.
lineColors(tone: LineTone, count: number): string[] | undefined パラメーター
| 名前 | 型 | 説明 | 既定値 |
|---|---|---|---|
tone | LineTone | 追加説明はありません。 | — |
count | number | 追加説明はありません。 | — |
戻り値
string[] | undefined libs/@shumoku/core/src/libs/@shumoku/core/src/themes/tone.ts:43