faceEdgeSvg関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The outline and the raised edge laid over a face, in the face's own units.
インポート
import { faceEdgeSvg } from "@johnmorrisdotca/jarajara/faces";
定義
function faceEdgeSvg(colours: BlockColours): string
引数
| 名前 | 型 | 説明 |
|---|---|---|
colours | BlockColours | The solid tile block’s colours. |
戻り値
string
The outline and the raised edge laid over a face, in the face's own units.
例
import { blockColours, faceEdgeSvg } from "@johnmorrisdotca/jarajara/faces";
console.log(faceEdgeSvg(blockColours()).length);255出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。