gridbox-0.3.0.0: A grid box model
GridBox.Box
Description
Box in a row
Synopsis
data Box Source #
A grid box with position (x,y) at row and col with size.
Constructors
Fields
Instances
Methods
(==) :: Box -> Box -> Bool #
(/=) :: Box -> Box -> Bool #
readsPrec :: Int -> ReadS Box #
readList :: ReadS [Box] #
readPrec :: ReadPrec Box #
readListPrec :: ReadPrec [Box] #
showsPrec :: Int -> Box -> ShowS #
show :: Box -> String #
showList :: [Box] -> ShowS #
type BoxRow = Int Source #
Row of a box
type BoxCol = Int Source #
Col of a box
makeBox :: Double -> Double -> Int -> Int -> (Double, Double) -> Box Source #
Create a box with position (x,y) at row and col with given size.