JYU-Utils-0.1.1.1: Some utility functions for JYU projects

Utils.Rectangle

Synopsis

Documentation

newtype Rectangle a Source

Constructors

Rectangle ((a, a), (a, a)) 

Instances

Eq a => Eq (Rectangle a) 
Show a => Show (Rectangle a) 
Binary a => Binary (Rectangle a) 
NFData a => NFData (Rectangle a) 
(Num a, Ord a, Serial a) => Serial (Rectangle a) 

prop_Corners :: (Int, Int) -> (Int, Int) -> BoolSource

Create rectangle around point (x,y)