class

Mosaic::PixelBlock

Inherits Reference < Object

PixelBlock represents a 2x2 pixel block from the image.

Constructors

Instance methods

avg_bg
Source
avg_bg=(avg_bg : StumpyCore::RGBA)
Source
avg_fg
Source
avg_fg=(avg_fg : StumpyCore::RGBA)
Source
best_bg_color
Source
best_bg_color=(best_bg_color : StumpyCore::RGBA)
Source
best_fg_color
Source
best_fg_color=(best_fg_color : StumpyCore::RGBA)
Source
best_symbol
Source
best_symbol=(best_symbol : Char)
Source
pixels
Source
pixels=(pixels : Array(Array(StumpyCore::RGBA)))
Source