リファレンス · KanjiVG由来の筆順:描く、描いた漢字から探す
PackedStrokes型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The table of the strokes as the data file holds it: where it was made from, the release, and for each kanji its paths, apart by "|".
インポート
import type { PackedStrokes } from "@johnmorrisdotca/jisho/strokes";
定義
type PackedStrokes = {
readonly source: string;
readonly release: string;
readonly paths: Readonly<Record<string, string>>;
};
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
source | string | |
release | string | |
paths | Readonly<Record<string, string>> |
例
import type { PackedStrokes } from "@johnmorrisdotca/jisho/strokes";
const table: PackedStrokes = { source: "KanjiVG", release: "r20260714", paths: { 一: "M10,54c10,0,80,0,90,0" } };
console.log(Object.keys(table.paths));[ '一' ]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。