Safe Haskell | None |
---|---|

Language | Haskell2010 |

## Synopsis

- data Arc
- pattern Arc :: Point -> !Float -> !Float -> !Float -> Arc
- center :: Arc -> Point
- radius :: Arc -> Float
- start :: Arc -> Float
- end :: Arc -> Float
- svgPathDefinition :: Arc -> String
- asTuple :: Arc -> (Float, Float, Float, Float, Float)
- midpoint :: Arc -> Float -> Point
- arcLength :: Arc -> Float
- invert :: Arc -> Point -> Point -> Point
- arcCoords :: Arc -> (Point, Point)

# Documentation

Represents an arc with center, radius, ccw from start to end. note that angles must be in (-pi, pi)

svgPathDefinition :: Arc -> String Source #

Calculate the SVG path defition for an Arc