bonk-docs/content/shapes/line.md

14 lines
226 B
Markdown
Raw Permalink Normal View History

2019-09-15 02:55:02 +00:00
---
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);
2020-07-18 20:13:59 +00:00
```