struct Goban::Canvas(T)

Overview

Data type representing 2D canvas symbol.

Included Modules

Defined in:

lib/goban/src/goban/canvas.cr
goishi/data_types/canvas.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.new_with_values(size_x, size_y, & : Int32, Int32, Int32 -> T) #

[View source]

Instance Method Detail

def []?(point : Goishi::Point) #

[View source]
def each_column_in_region(from : Goishi::Point, to : Goishi::Point, & : Iterator(Tuple(UInt8, Int32)), Int32 -> ) #

[View source]
def each_row_in_region(from : Goishi::Point, to : Goishi::Point, & : Iterator(Tuple(UInt8, Int32)), Int32 -> ) #

[View source]
def flip_tr_bl #

[View source]
def invert #

[View source]