prettyprint

package module
v0.0.0-...-5f40c96 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Canvas

type Canvas struct {
	Width  int
	Height int
	// contains filtered or unexported fields
}

func NewCanvas

func NewCanvas(width, height int) *Canvas

func NewCanvasWithPD

func NewCanvasWithPD(width, height, pointDist int) *Canvas

func NewTFCBoardCanvas

func NewTFCBoardCanvas() *Canvas

func (*Canvas) DrawLabel

func (c *Canvas) DrawLabel(x, y int, label string)

func (*Canvas) DrawLine

func (c *Canvas) DrawLine(x0, y0, x1, y1 int, label string)

func (*Canvas) DrawPoint

func (c *Canvas) DrawPoint(x, y int)

func (*Canvas) PrettyPrintTfcBoard

func (c *Canvas) PrettyPrintTfcBoard(gb tfcPb.GameBoard) *Canvas

func (*Canvas) String

func (c *Canvas) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL