toDisplay関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
A logical point as it is shown.
インポート
import { toDisplay } from "@johnmorrisdotca/meikyuu";
定義
function toDisplay(turn: Turn, [x, y]: Point): [number, number]
引数
| 名前 | 型 | 説明 |
|---|---|---|
turn | Turn | The native quarter-turn setting. |
options | Point | Native display/mount choices, or the point tuple specified by this signature. |
戻り値
[number, number]
A logical point as it is shown.
例
import { toDisplay } from "@johnmorrisdotca/meikyuu";
console.log(toDisplay(1,[10,20]));[ 20, -10 ]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。