refactoring to get middle/center, possibly more

This commit is contained in:
Andy Meneely
2020-10-05 11:27:49 -04:00
parent 0de6b31ad7
commit 4003e00e2a
14 changed files with 175 additions and 8 deletions
+1 -1
View File
@@ -9,4 +9,4 @@ width
height
default: ``:deck`` (the height of the deck)
the height of the box. Supports :doc:`/units`.
the height of the box. Supports :doc:`/units`. Also can be ``:center`` or ``:middle`` for half the height of the deck. Supports :doc:`/units`.
+16
View File
@@ -0,0 +1,16 @@
.. :orphan:
x
default: ``0``
the x-coordinate to place, relative to the upper-left corner of the card and moving right as it increases. Supports :doc:`/units`.
Also can be ``:center`` or ``:middle`` for half the width of the deck.
y
default: ``0``
the y-coordinate to place, relative to the upper-left corner of the card and moving downward as it increases. Supports :doc:`/units`.
Also can be ``:center`` or ``:middle`` for half the height of the deck.