asciicanvas

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2025 License: MPL-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 {
	// contains filtered or unexported fields
}

func New

func New(width, height int) *Canvas

func (*Canvas) ContainsAlphaNumeric

func (c *Canvas) ContainsAlphaNumeric(x, y int) bool

func (*Canvas) DrawLabel

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

func (*Canvas) Get

func (c *Canvas) Get(x, y int) string

func (*Canvas) Height

func (c *Canvas) Height() int

func (*Canvas) IsInBounds

func (c *Canvas) IsInBounds(x, y int) bool

func (*Canvas) Set

func (c *Canvas) Set(x, y int, char string)

func (*Canvas) ToByteArray

func (c *Canvas) ToByteArray(chars charset.Set) []byte

func (*Canvas) Width

func (c *Canvas) Width() int

Jump to

Keyboard shortcuts

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