RayTracer::Canvas
Inherits Reference < Object
Constructors
new(width : Numeric, height : Numeric, default_color)
SourceInstance methods
each
Sourceheight
Sourceheight=(height : Float64 | Int32)
Sourcepixel_at(x, y) : RayTracer::Color
Sourcepixels
Sourceto_ppm
Sourcewidth
Sourcewidth=(width : Float64 | Int32)
Source