Cell Shape is the place it takes in nested panels. Considering the default shape as 1x1 (Full
), the meaning of each value is:
single
— 1x1half
— 0.5x0.5halfByOne
— 0.5x1oneByHalf
— 1x0.5twiceByHalf
— 2x0.5halfByTwice
— 0.5x2twiceByTwice
- 2x2default : CellShape
single : CellShape
1x1
half : CellShape
0.5x0.5
halfByOne : CellShape
0.5x1
oneByHalf : CellShape
1x0.5
twiceByHalf : CellShape
2x0.5
halfByTwice : CellShape
0.5x2
twiceByTwice : CellShape
2x2
isHorizontal : CellShape -> Basics.Bool
isVertical : CellShape -> Basics.Bool
isSquare : CellShape -> Basics.Bool
isSmallSquare : CellShape -> Basics.Bool
isLargeSquare : CellShape -> Basics.Bool
numify : CellShape -> ( Basics.Float, Basics.Float )
units : CellShape -> ( Unit, Unit )
Get shape units as (
create : ( Unit, Unit ) -> CellShape
Create cell shape from unit representation
toString : CellShape -> String