struct

Goban::Canvas(T)

Inherits Indexable::Mutable < Indexable < Enumerable < Iterable < Struct < Value < Object

Data type representing 2D canvas symbol.

Class methods

new_with_values(size_x, size_y, & : Int32, Int32, Int32 -> T)
Source

Instance methods

[]?(point : Goishi::Point)
Source
each_column_in_region(from : Goishi::Point, to : Goishi::Point, & : Iterator(Tuple(UInt8, Int32)), Int32 -> )
Source
each_row_in_region(from : Goishi::Point, to : Goishi::Point, & : Iterator(Tuple(UInt8, Int32)), Int32 -> )
Source
flip_tr_bl
Source
invert
Source