The only command provided is \DrawHand{description}{height}, where height is the target height of the resulting TikZ figure and description is the hand description in following format:
- Any of the
mpszchanges the current tile suite, - Any of the
0123456789(formps),1234567(forz) or?draws a tile. If a*follows, the tile is drawn rotated.0means red five and?means tile back, ~makes space of length equal to 0.5 of tile's width.
Putting number before first suite is specified or including any other characters in description results in undefined behavior.
Tile images are created by FluffyStuff, available under https://github.com/FluffyStuff/riichi-mahjong-tiles and licensed under Creative Commons Attribution 4.0 International License.