Documentation ¶
Overview ¶
Package area implements a matrix of Characters
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Area ¶
Area represents a rectangular area of Chars. An empty Area is a valid one.
func Diff ¶ added in v0.0.3
Diff returns a new fixed area of the size of area1 with all the Char of area1 that are not equal in area2
func (*Area) Get ¶
Get will return the character at the given position. A row or col smaller than 1 will return nil and error. For a fixed area a row and col bigger than the actual size will also return an error
func (*Area) Set ¶
Set will change the given Char in the row,col position. If the area is fixed, it will return an error if a char is being set outside the area A row or col smaller than 1 will also return an error
Click to show internal directories.
Click to hide internal directories.