HexLayout Module
Functions and values
| Function or value |
Description
|
Full Usage:
border col row width height content section
Parameters:
int
row : int
width : int
height : int
content : 'T
section : HexGridSection<'T>
Returns: HexGridSection<'T>
|
|
Full Usage:
center w h f parent
Parameters:
int
h : int
f : HexGridSection<'T> -> HexGridSection<'T>
parent : HexGridSection<'T>
Returns: HexGridSection<'T>
Modifiers: inline Type parameters: 'T |
|
Full Usage:
checker odd even section
Parameters:
'T
even : 'T
section : HexGridSection<'T>
Returns: HexGridSection<'T>
|
|
Full Usage:
checkerBorder col row width height odd even section
Parameters:
int
row : int
width : int
height : int
odd : 'T
even : 'T
section : HexGridSection<'T>
Returns: HexGridSection<'T>
|
|
Full Usage:
circle cc cr radius filled content section
Parameters:
int
cr : int
radius : int
filled : bool
content : 'T
section : HexGridSection<'T>
Returns: HexGridSection<'T>
|
|
Full Usage:
clear col row width height section
Parameters:
int
row : int
width : int
height : int
section : HexGridSection<'T>
Returns: HexGridSection<'T>
|
|
Full Usage:
corners col row width height content section
Parameters:
int
row : int
width : int
height : int
content : 'T
section : HexGridSection<'T>
Returns: HexGridSection<'T>
|
|
Full Usage:
fill col row width height content section
Parameters:
int
row : int
width : int
height : int
content : 'T
section : HexGridSection<'T>
Returns: HexGridSection<'T>
|
|
Full Usage:
flowX step stamps parent
Parameters:
int
stamps : (HexGridSection<'T> -> HexGridSection<'T>) seq
parent : HexGridSection<'T>
Returns: HexGridSection<'T>
Modifiers: inline Type parameters: 'T |
|
Full Usage:
flowY step stamps parent
Parameters:
int
stamps : (HexGridSection<'T> -> HexGridSection<'T>) seq
parent : HexGridSection<'T>
Returns: HexGridSection<'T>
Modifiers: inline Type parameters: 'T |
|
Full Usage:
generate col row width height generator section
Parameters:
int
row : int
width : int
height : int
generator : int -> int -> 'T
section : HexGridSection<'T>
Returns: HexGridSection<'T>
Modifiers: inline Type parameters: 'T |
|
Full Usage:
iter col row width height action section
Parameters:
int
row : int
width : int
height : int
action : int -> int -> 'T voption -> unit
section : HexGridSection<'T>
Returns: HexGridSection<'T>
Modifiers: inline Type parameters: 'T |
|
Full Usage:
line c1 r1 c2 r2 content section
Parameters:
int
r1 : int
c2 : int
r2 : int
content : 'T
section : HexGridSection<'T>
Returns: HexGridSection<'T>
|
|
Full Usage:
map col row width height mapping section
Parameters:
int
row : int
width : int
height : int
mapping : 'T -> 'T
section : HexGridSection<'T>
Returns: HexGridSection<'T>
Modifiers: inline Type parameters: 'T |
|
Full Usage:
padding n f parent
Parameters:
int
f : HexGridSection<'T> -> HexGridSection<'T>
parent : HexGridSection<'T>
Returns: HexGridSection<'T>
Modifiers: inline Type parameters: 'T |
|
Full Usage:
paddingEx left top right bottom f parent
Parameters:
int
top : int
right : int
bottom : int
f : HexGridSection<'T> -> HexGridSection<'T>
parent : HexGridSection<'T>
Returns: HexGridSection<'T>
Modifiers: inline Type parameters: 'T |
|
Full Usage:
polygon points filled content section
Parameters:
(int * int)[]
filled : bool
content : 'T
section : HexGridSection<'T>
Returns: HexGridSection<'T>
|
|
Full Usage:
rect col row width height borderContent fillContent section
Parameters:
int
row : int
width : int
height : int
borderContent : 'T
fillContent : 'T
section : HexGridSection<'T>
Returns: HexGridSection<'T>
|
|
Full Usage:
repeatX col row count content section
Parameters:
int
row : int
count : int
content : 'T
section : HexGridSection<'T>
Returns: HexGridSection<'T>
|
|
Full Usage:
repeatY col row count content section
Parameters:
int
row : int
count : int
content : 'T
section : HexGridSection<'T>
Returns: HexGridSection<'T>
|
|
Full Usage:
replace oldContent newContent section
Parameters:
'T
newContent : 'T
section : HexGridSection<'T>
Returns: HexGridSection<'T>
|
|
Full Usage:
replaceScatter oldContent newContent probability seed section
Parameters:
'T
newContent : 'T
probability : float32
seed : int
section : HexGridSection<'T>
Returns: HexGridSection<'T>
|
|
Full Usage:
run f grid
Parameters:
HexGridSection<'T> -> HexGridSection<'T>
grid : HexGrid<'T>
Returns: HexGrid<'T>
Modifiers: inline Type parameters: 'T |
|
Full Usage:
scatter count seed content section
Parameters:
int
seed : int
content : 'T
section : HexGridSection<'T>
Returns: HexGridSection<'T>
|
|
Full Usage:
scatterBorder col row width height count seed content section
Parameters:
int
row : int
width : int
height : int
count : int
seed : int
content : 'T
section : HexGridSection<'T>
Returns: HexGridSection<'T>
|
|
Full Usage:
scatterLine c1 r1 c2 r2 count seed content section
Parameters:
int
r1 : int
c2 : int
r2 : int
count : int
seed : int
content : 'T
section : HexGridSection<'T>
Returns: HexGridSection<'T>
|
|
Full Usage:
scatterStamp count seed stamp section'
Parameters:
int
seed : int
stamp : HexGridSection<'T> -> HexGridSection<'T>
section' : HexGridSection<'T>
Returns: HexGridSection<'T>
Modifiers: inline Type parameters: 'T |
|
Full Usage:
section col row f parent
Parameters:
int
row : int
f : HexGridSection<'T> -> HexGridSection<'T>
parent : HexGridSection<'T>
Returns: HexGridSection<'T>
Modifiers: inline Type parameters: 'T |
|
Full Usage:
set col row content section
Parameters:
int
row : int
content : 'T
section : HexGridSection<'T>
Returns: HexGridSection<'T>
|
|
Full Usage:
setIfEmpty col row content section
Parameters:
int
row : int
content : 'T
section : HexGridSection<'T>
Returns: HexGridSection<'T>
|
|
Mibo