GridStats型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
What the grid has done: whether it is drawn, whether it shows the lines every 15 degrees (else every 30), how many segments the last draw had, and how many times its lines were made.
インポート
import type { GridStats } from "@johnmorrisdotca/chikyu-earth/realistic";
定義
interface GridStats {
shown: boolean;
fine: boolean;
segments: number;
builds: number;
failed: boolean;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
shown | boolean | |
fine | boolean | |
segments | number | |
builds | number | |
failed | boolean |
例
import type { GridStats } from "@johnmorrisdotca/chikyu-earth/realistic";
const none: GridStats = { shown: false, fine: false, segments: 0, builds: 0, failed: false };
console.log(none);この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。