class Hpdf::Raw::RgbImage
- Hpdf::Raw::RgbImage
- Hpdf::Raw::Image
- Reference
- Object
Overview
create a new in-memory RGB image
Defined in:
hpdf/raw_image.crConstructors
Instance Method Summary
- #[]=(x : Number, y : Number, color : RgbColor)
-
#rgb_at(x : UInt32, y : UInt32, red : UInt8, green : UInt8, blue : UInt8)
sets the rgb value at
x
andy
.
Instance methods inherited from class Hpdf::Raw::Image
color_space : Hpdf::ColorSpace
color_space,
height : UInt32
height,
to_unsafe
to_unsafe,
width : UInt32
width
Constructor methods inherited from class Hpdf::Raw::Image
new(width : UInt32, height : UInt32, color_space : ColorSpace)
new
Constructor Detail
Instance Method Detail
def rgb_at(x : UInt32, y : UInt32, red : UInt8, green : UInt8, blue : UInt8)
#
sets the rgb value at x
and y
.