Class: Pdfrb::Model::Type::ShadingType5
- Inherits:
-
Cos::Stream
- Object
- Object
- Cos::Dictionary
- Cos::Stream
- Pdfrb::Model::Type::ShadingType5
- Includes:
- ShadingCommon
- Defined in:
- lib/pdfrb/model/type/shading.rb
Overview
Type 5 — lattice Gouraud-shaded triangle mesh (s8.7.4.6.4).
Instance Attribute Summary
Attributes inherited from Cos::Stream
Attributes inherited from Object
Instance Method Summary collapse
- #bits_per_component ⇒ Object
- #bits_per_coordinate ⇒ Object
- #decode ⇒ Object
- #vertices_per_row ⇒ Object
Methods included from ShadingCommon
#anti_alias?, #axial?, #background, #bbox, #color_space, #coons_patch?, #domain, #free_form_gouraud?, #function, #function_based?, #lattice_gouraud?, #radial?, #shading_type, #tensor_patch?
Methods inherited from Cos::Stream
#decoded_stream, #encoded_stream=, #initialize
Methods inherited from Cos::Dictionary
#[], #[]=, apply_arlington_definition, arlington_default, arlington_key_to_symbol, arlington_one_type_to_ruby, arlington_required?, arlington_scalar, 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, merged_field, own_fields, #pdf_type, register_type, type_map, #validate
Methods included from Cos::ArlingtonBacked
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::Stream
Instance Method Details
#bits_per_component ⇒ Object
86 |
# File 'lib/pdfrb/model/type/shading.rb', line 86 def bits_per_component; self[:BitsPerComponent]; end |
#bits_per_coordinate ⇒ Object
85 |
# File 'lib/pdfrb/model/type/shading.rb', line 85 def bits_per_coordinate; self[:BitsPerCoordinate]; end |
#decode ⇒ Object
88 |
# File 'lib/pdfrb/model/type/shading.rb', line 88 def decode; self[:Decode]; end |
#vertices_per_row ⇒ Object
87 |
# File 'lib/pdfrb/model/type/shading.rb', line 87 def vertices_per_row; self[:VerticesPerRow]; end |