1 | /**
|
2 | * Check that symbols are vertically centered
|
3 | */
|
4 |
|
5 | const setup = require('./')
|
6 |
|
7 | let positions = [0,5, 5,5, 10,5, 15,5, 20,5, 25,5, 30,5, 35,5]
|
8 | let sizes = [150,150,150,150,150,150,150,150]
|
9 | let colors = Array(8*4).fill(0).map((v, i) => !((i + 1) % 4) ? .7 : 0)
|
10 | let glyphs = '●○■□◆◇+❌'.split('')
|
11 | let borderWidths = Array(8).fill(.5)
|
12 | let borderColors = Array(8*4).fill(0).map((v, i) => !((i+1) % 4) ? .7 : 1)
|
13 |
|
14 |
|
15 | setup({
|
16 | positions,
|
17 | sizes,
|
18 | colors,
|
19 | glyphs,
|
20 | borderColors,
|
21 | borderWidths
|
22 | })
|