Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Ansi::GrayImage
Inherits
Ansi::Image
<
Reference
<
Object
Constructors
new
(width :
Int32
, height :
Int32
, fill :
UInt8
= 0_u8)
Source
Instance methods
each_pixel
Source
height
Source
pixel
(x :
Int32
, y :
Int32
) :
Color
Source
set
(x :
Int32
, y :
Int32
, gray :
UInt8
) :
Nil
Source
width
Source