Class: Pdfrb::Model::Type::TrapRegion
- Inherits:
-
Cos::Dictionary
- Object
- Object
- Cos::Dictionary
- Pdfrb::Model::Type::TrapRegion
- Defined in:
- lib/pdfrb/model/type/trap_region.rb
Overview
TrapRegion (Adobe TechNote 5620 §5.34, PDF 1.3, deprecated PDF 2.0). A trapping (prepress) region on a page. Referenced from /Annots as /Subtype /Traps or from separation profiles.
Instance Attribute Summary
Attributes inherited from Object
Instance Method Summary collapse
-
#trap_parameters ⇒ Object
/TP — required name: trapping parameters version.
-
#trap_zones ⇒ Object
/TZ — optional array-of-arrays of numbers defining trap zones.
Methods inherited from Cos::Dictionary
#[], #[]=, 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
Constructor Details
This class inherits a constructor from Pdfrb::Model::Cos::Dictionary
Instance Method Details
#trap_parameters ⇒ Object
/TP — required name: trapping parameters version.
13 14 15 |
# File 'lib/pdfrb/model/type/trap_region.rb', line 13 def trap_parameters value[:TP] end |
#trap_zones ⇒ Object
/TZ — optional array-of-arrays of numbers defining trap zones.
19 20 21 |
# File 'lib/pdfrb/model/type/trap_region.rb', line 19 def trap_zones value[:TZ] end |