class Canvas

Defined in:

canvas.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(width : Int32, height : Int32) #

[View source]

Instance Method Detail

def canvas : Array(Array(Color)) #

[View source]
def height : Int32 #

[View source]
def pixel_at(width = 0, height = 0) #

[View source]
def to_ppm #

[View source]
def width : Int32 #

[View source]
def write_pixel(row : Int32, col : Int32, color : Color) #

[View source]