Reference · Rockets, variants, parts and the fit check
kanjiPlatefunction
The kanji of a ship's name, and its class beside it where it has one, in one formal place.
Import it
import { kanjiPlate } from "@johnmorrisdotca/uchusen-rockets";
Definition
function kanjiPlate(ship: ShipMarks, place: MarkingPlace, style?: MarkingStyle): Piece[]
Parameters
| Name | Type | Description |
|---|---|---|
ship | ShipMarks | The ship's lettering. |
place | MarkingPlace | Where the name goes; the class goes a line lower. |
style (optional) | MarkingStyle | The paint and details. |
Returns
Piece[]
The pieces.
Examples
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);trueWhat it prints (run when this page was built)