Skip to content

stadium / Exports / Line

Interface: Line ​

2차원 좌표계의 선을 나타내는 인터페이스

ts
const line: Line = {
  p1: { left: 0, top: 0 },
  p2: { left: 100, top: 100 },
};

Implemented by ​

Table of contents ​

Properties ​

Properties ​

p1 ​

• p1: Point

시작점

Defined in ​

lib/type.ts:74


p2 ​

• p2: Point

끝점

Defined in ​

lib/type.ts:78