Safe Haskell | None |
---|---|
Language | Haskell2010 |
A type representing a parallelogram (doesn't just have to be a rectangle).
Documentation
Rectangle | |
|
mkRectangle :: Point -> Point -> Rectangle Source #
Constructor for a rectangle; supply one point for the top left and one point for the bottom right.