Center non-negative, finite, boards (#14)
This commit is contained in:
@@ -22,7 +22,7 @@ import {
|
||||
TILE_STYLES,
|
||||
BOARD_STYLES,
|
||||
FLAT, POINTY,
|
||||
TILE_ORIENTATIONS,
|
||||
ORIENTATION_STYLES,
|
||||
FILL, OUTLINE,
|
||||
DRAW_STYLES,
|
||||
} from './consts.js';
|
||||
@@ -64,13 +64,13 @@ function selectCartographer(board, orientation) {
|
||||
}
|
||||
|
||||
export class Tessellate {
|
||||
static get TILE_STYLES() {return TILE_STYLES}
|
||||
static get BOARD_STYLES() {return BOARD_STYLES}
|
||||
static get TILE_ORIENTATIONS() {return TILE_ORIENTATIONS} // TODO: rename to ORIENTATION_STYLES
|
||||
static get DRAW_STYLES() {return DRAW_STYLES}
|
||||
static get TILE_STYLES() {return TILE_STYLES}
|
||||
static get BOARD_STYLES() {return BOARD_STYLES}
|
||||
static get ORIENTATION_STYLES() {return ORIENTATION_STYLES}
|
||||
static get DRAW_STYLES() {return DRAW_STYLES}
|
||||
|
||||
static get TILES() {return TILES}
|
||||
static get Cell() {return Cell}
|
||||
static get TILES() {return TILES}
|
||||
static get Cell() {return Cell}
|
||||
static get Shapes() {return Shapes}
|
||||
|
||||
static get utils() {return utils}
|
||||
|
||||
Reference in New Issue
Block a user