Hpdf::Raw::RgbImage
Inherits Hpdf::Raw::Image / Reference / Object
create a new in-memory RGB image
Constructors
new(width : UInt32, height : UInt32)
SourceInstance methods
[]=(x : Number, y : Number, color : RgbColor)
Sourcergb_at(x : UInt32, y : UInt32, red : UInt8, green : UInt8, blue : UInt8)
sets the rgb value at x and y.