kanjiPlate関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The kanji of a ship's name, and its class beside it where it has one, in one formal place.
インポート
import { kanjiPlate } from "@johnmorrisdotca/uchusen-rockets";
定義
function kanjiPlate(ship: ShipMarks, place: MarkingPlace, style?: MarkingStyle): Piece[]
引数
| 名前 | 型 | 説明 |
|---|---|---|
ship | ShipMarks | The ship's lettering. |
place | MarkingPlace | Where the name goes; the class goes a line lower. |
style (省略可) | MarkingStyle | The paint and details. |
戻り値
Piece[]
The pieces.
例
import { FLEET_MARKS, kanjiPlate } from "@johnmorrisdotca/uchusen-rockets";
console.log(kanjiPlate(FLEET_MARKS.ships.kaminari, { radius: 6, y: 20, az: 0, height: 1.2, align: "middle" }).length > 50);true出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。