class TestMatrix
- TestMatrix
- Reference
- Object
Overview
Requires a truecolor terminal (24bit) like iterm2
Included Modules
Defined in:
test_matrix.crConstructors
Instance Method Summary
- #[]=(x, y, value : Tuple(UInt8, UInt8, UInt8))
- #[]=(x, y, color : RGB(UInt8))
- #draw
-
#draw_point(x, y, color)
To be implemented by the including class
- #index(x, y)
Instance methods inherited from module CG2d::Drawable
draw_circle(cx : Int, cy : Int, r : Int, color)draw_circle(c : Vec, r, color) draw_circle, draw_line(x1 : Int, y1 : Int, x2 : Int, y2 : Int, color)
draw_line(p1 : CG2d::Vec, p2 : CG2d::Vec, color)
draw_line(line : CG2d::Line, color) draw_line, draw_point(x, y, color)
draw_point(point : CG2d::Vec, color) draw_point
Constructor Detail
Instance Method Detail
def draw_point(x, y, color)
#
Description copied from module CG2d::Drawable
To be implemented by the including class