gridbox-0.2.0.0: A grid box model

Safe HaskellSafe
LanguageHaskell2010

GridBox.Box

Description

Box in a row

Synopsis

Documentation

data Box Source #

A grid box with position (x,y) at row and col with size.

Constructors

Box 

Fields

Instances

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.