bonk-docs/content/shapes/line.md

13 lines
225 B
Markdown
Raw 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);
```