Class: Pdfrb::Model::Type::CalRGB
Overview
CalRGB color space dictionary (s8.6.3.3). Calibrated RGB:
[/CalRGB ].
Instance Attribute Summary
Attributes inherited from Object
#document, #gen, #oid, #value
Instance Method Summary
collapse
#[], #[]=, arlington_available?, arlington_default, arlington_key_to_symbol, arlington_loaded_for?, arlington_mark_loaded, arlington_object, arlington_one_type_to_ruby, arlington_required?, arlington_types_to_ruby, arlington_version, define_field, define_field_from_arlington, #delete, #each, each_field, #each_raw, #empty?, field, #initialize, #key?, #keys, lookup_type, own_fields, #pdf_type, register_type, type_map, #validate
Methods inherited from Object
#==, define_type, #deref, #indirect?, #initialize, #must_be_indirect?, #pdf_type, pdf_type
Instance Method Details
#black_point ⇒ Object
10
|
# File 'lib/pdfrb/model/type/cal_rgb.rb', line 10
def black_point; self[:BlackPoint]; end
|
#components ⇒ Object
14
|
# File 'lib/pdfrb/model/type/cal_rgb.rb', line 14
def components; 3; end
|
11
|
# File 'lib/pdfrb/model/type/cal_rgb.rb', line 11
def gamma; self[:Gamma]; end
|
#has_matrix? ⇒ Boolean
16
17
18
|
# File 'lib/pdfrb/model/type/cal_rgb.rb', line 16
def has_matrix?
!!matrix
end
|
12
|
# File 'lib/pdfrb/model/type/cal_rgb.rb', line 12
def matrix; self[:Matrix]; end
|
#white_point ⇒ Object
9
|
# File 'lib/pdfrb/model/type/cal_rgb.rb', line 9
def white_point; self[:WhitePoint]; end
|