Initial commit of make.alignment

This commit is contained in:
pyoor 2017-06-28 12:01:48 -07:00
parent 33c3d3ab6d
commit f884643863

14
lib/make/alignment.js Normal file
View file

@ -0,0 +1,14 @@
make.alignment = {
horizontal: function () {
return random.item(['left', 'right', 'justify', 'center'])
},
vertical: function () {
return random.item(['top', 'bottom', 'middle', 'baseline'])
},
any: function () {
return random.pick([
this.horizontal,
this.vertical
])
}
}