Class: Pdfrb::Model::Type::GammaArray

Inherits:
PdfArray show all
Defined in:
lib/pdfrb/model/type/misc_helpers.rb

Overview

Gamma array [r g b] inside the CalRGB dict (s8.6.3.3).

Instance Attribute Summary

Attributes inherited from Object

#document, #gen, #oid, #value

Instance Method Summary collapse

Methods inherited from PdfArray

#<<, #==, #[], #[]=, apply_arlington_definition, arlington_definition, #delete_at, #each, element_field, #empty?, #initialize, #inspect, #length, #push, #to_a

Methods included from Cos::ArlingtonBacked

#arlington_object

Methods inherited from Object

#==, define_type, #deref, #indirect?, #initialize, #must_be_indirect?, #pdf_type, pdf_type

Constructor Details

This class inherits a constructor from Pdfrb::Model::PdfArray

Instance Method Details

#bObject



96
# File 'lib/pdfrb/model/type/misc_helpers.rb', line 96

def b; self[2]; end

#gObject



95
# File 'lib/pdfrb/model/type/misc_helpers.rb', line 95

def g; self[1]; end

#rObject



94
# File 'lib/pdfrb/model/type/misc_helpers.rb', line 94

def r; self[0]; end