Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
module
Drawable
Class methods
resize_bilinear
(source :
Drawable
, dest :
Drawable
)
Source
resize_nearest_neighbor
(source :
Drawable
, dest :
Drawable
)
Source
Instance methods
color
(x, y) :
Enumerable
Source
fill
Iterate over each x, y coordinate and set the pixel value.
Source
height
Source
set_color
(x, y, color :
Enumerable
)
Source
width
To be implemented by the including class
Source