Documentation ¶
Overview ¶
Package image is a go library that creates images from board positions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarkSquares ¶
MarkSquares is designed to be used as an optional argument to the SVG function. It marks the given squares with the color. A possible usage includes marking squares of the previous move.
func SVG ¶
SVG writes the board SVG representation into the writer. An error is returned if there is there is an error writing data. SVG also takes options which can customize the image output.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.