Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (17 sloc) 593 Bytes

SVG rendering

The :mod:`chess.svg` module renders SVG Tiny images (mostly for IPython/Jupyter Notebook integration). The piece images by Colin M.L. Burnett are triple licensed under the GFDL, BSD and GPL.

.. autofunction:: chess.svg.piece

.. autofunction:: chess.svg.board

.. autoclass:: chess.svg.Arrow
    :members:

    .. py:attribute:: tail

        Start square of the arrow.

    .. py:attribute:: head

        End square of the arrow.

    .. py:attribute:: color
        :annotation: = "#888"

        Arrow color.