TsunagiPointtype
A point in the drawing.
Import it
import type { TsunagiPoint } from "@johnmorrisdotca/tsunagi/draw";
Definition
type TsunagiPoint = {
x: number;
y: number;
};
Members
| Name | Type | Description |
|---|---|---|
x | number | |
y | number |
Examples
import type { TsunagiPoint } from "@johnmorrisdotca/tsunagi/draw";
const value: TsunagiPoint = {x:10,y:20};
console.log(value);{ x: 10, y: 20 }What it prints (run when this page was built)