class Hpdf::Raw::CmykImage
- Hpdf::Raw::CmykImage
- Hpdf::Raw::Image
- Reference
- Object
Overview
create a new in-memory CMYK image. Import using Doc#load_raw_image_from_mem
Defined in:
hpdf/raw_image.crConstructors
Instance Method Summary
- #[]=(x : Number, y : Number, color : CmykColor)
-
#rgb_at(x : UInt32, y : UInt32, cyan : UInt8, magenta : UInt8, yellow : UInt8, black : 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, cyan : UInt8, magenta : UInt8, yellow : UInt8, black : UInt8)
#
sets the rgb value at x
and y
.