Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 593 Bytes

File metadata and controls

28 lines (17 loc) · 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.