Maintainer | diagrams-discuss@googlegroups.com |
---|---|

Safe Haskell | None |

Two-dimensional ellipses (and, as a special case, circles).

# Ellipse and circle diagrams

unitCircle :: (TrailLike t, V t ~ R2) => tSource

A circle of radius 1, with center at the origin.

circle :: (TrailLike t, V t ~ R2, Transformable t) => Double -> tSource

A circle of the given radius, centered at the origin. As a path, it begins at (r,0).