Goban::Canvas(T)
Inherits Indexable::Mutable / Indexable / Enumerable / Iterable / Struct / Value / Object
Data type representing 2D canvas symbol.
Constructors
new(size_x : Int32, size_y : Int32, data : Slice(T))
Sourcenew(size_x : Int32, size_y : Int32, value : T)
SourceInstance methods
[](x : Int, y : Int)
Source[]=(x : Int, y : Int, w : Int, h : Int, value : UInt8)
Source[]=(x : Int, y : Int, value : UInt8)
Source[]?(x : Int, y : Int)
Sourceclone
Sourcedata
Sourceeach_column
Sourceeach_row
Sourcesize(*args, **options)
Sourcesize(*args, **options, &)
Sourcesize_x
Sourcesize_y
Sourceunsafe_fetch(*args, **options)
Sourceunsafe_fetch(*args, **options, &)
Sourceunsafe_put(*args, **options)
Sourceunsafe_put(*args, **options, &)
Source