13 lines
225 B
Markdown
13 lines
225 B
Markdown
|
---
|
||
|
title: "Line"
|
||
|
date: 2019-09-14T19:36:39-07:00
|
||
|
weight: 10
|
||
|
---
|
||
|
|
||
|
To define a Line, give a start and end position.
|
||
|
|
||
|
```cs
|
||
|
var start = new Position2D(-1, 1);
|
||
|
var end = new Position2D(1, 1);
|
||
|
var line = new Line(start, end);
|
||
|
```
|