bonk-docs/content/shapes/circle.md

13 lines
222 B
Markdown

---
title: "Circle"
date: 2019-09-14T19:46:44-07:00
weight: 20
---
To define a circle, give a center point and radius.
```cs
var center = new Position2D(5, 5);
var radius = 3;
var circle = new Circle(center, radius);
```