Class: GridSpacingModeStatic

GridSpacingModeStatic(tangle)

Create a rectangular grid with even spacing.

Constructor

new GridSpacingModeStatic(tangle)

Create a grid spacing mode generator.

Parameters:
Name Type Description
tangle object

The 'this' value from the calling Tangle class.

Source:

Methods

x(r, c)

Get the x value for the specified coordinate.

Parameters:
Name Type Description
r integer

Row

c integer

Column

Source:

y(r, c)

Get the y value for the specified coordinate.

Parameters:
Name Type Description
r integer

Row

c integer

Column

Source: