Class: Pdfrb::Model::Type::Halftone
Overview
Halftone dictionary (s8.7.4). Halftones control how continuous
tones are simulated via dot patterns for printing. Six halftone
types exist in the PDF spec.
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
#halftone_name ⇒ Object
11
|
# File 'lib/pdfrb/model/type/halftone.rb', line 11
def halftone_name; self[:HalftoneName]; end
|
#halftone_type ⇒ Object
10
|
# File 'lib/pdfrb/model/type/halftone.rb', line 10
def halftone_type; self[:HalftoneType]; end
|
#type10? ⇒ Boolean
16
|
# File 'lib/pdfrb/model/type/halftone.rb', line 16
def type10?; halftone_type == 10; end
|
#type16? ⇒ Boolean
17
|
# File 'lib/pdfrb/model/type/halftone.rb', line 17
def type16?; halftone_type == 16; end
|
#type1? ⇒ Boolean
13
|
# File 'lib/pdfrb/model/type/halftone.rb', line 13
def type1?; halftone_type == 1; end
|
#type5? ⇒ Boolean
14
|
# File 'lib/pdfrb/model/type/halftone.rb', line 14
def type5?; halftone_type == 5; end
|
#type6? ⇒ Boolean
15
|
# File 'lib/pdfrb/model/type/halftone.rb', line 15
def type6?; halftone_type == 6; end
|