class Array2D(T)

Included Modules

Extended Modules

Defined in:

gui/general.cr
utils/misc.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(size : IntVector2, value : T) #

[View source]
def self.new(size : IntVector2) #

[View source]
def self.new(*, size : IntVector2, data : Array(T)) #

[View source]
def self.new(size : IntVector2, &) #

[View source]

Instance Method Detail

def [](x, y) #

[View source]
def [](v2) #

[View source]
def []=(x, y, value : T) #

[View source]
def []=(v2, value : T) #

[View source]
def data #

[View source]
def fill(value : T) #

[View source]
def size #

[View source]