Class: Pdfrb::Model::Type::ThreeDLightingScheme
Overview
3D Lighting Scheme (s13.6.4, Table 320-321). Lighting preset.
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
#artwork? ⇒ Boolean
11
|
# File 'lib/pdfrb/model/type/three_d_lighting_scheme.rb', line 11
def artwork?; subtype == :Artwork; end
|
#blue? ⇒ Boolean
18
|
# File 'lib/pdfrb/model/type/three_d_lighting_scheme.rb', line 18
def blue?; subtype == :Blue; end
|
#cad? ⇒ Boolean
21
|
# File 'lib/pdfrb/model/type/three_d_lighting_scheme.rb', line 21
def cad?; subtype == :CAD; end
|
#cube? ⇒ Boolean
20
|
# File 'lib/pdfrb/model/type/three_d_lighting_scheme.rb', line 20
def cube?; subtype == :Cube; end
|
#day? ⇒ Boolean
14
|
# File 'lib/pdfrb/model/type/three_d_lighting_scheme.rb', line 14
def day?; subtype == :Day; end
|
#hard? ⇒ Boolean
16
|
# File 'lib/pdfrb/model/type/three_d_lighting_scheme.rb', line 16
def hard?; subtype == :Hard; end
|
#headlamp? ⇒ Boolean
22
|
# File 'lib/pdfrb/model/type/three_d_lighting_scheme.rb', line 22
def headlamp?; subtype == :Headlamp; end
|
#night? ⇒ Boolean
15
|
# File 'lib/pdfrb/model/type/three_d_lighting_scheme.rb', line 15
def night?; subtype == :Night; end
|
#none? ⇒ Boolean
12
|
# File 'lib/pdfrb/model/type/three_d_lighting_scheme.rb', line 12
def none?; subtype == :None; end
|
#primary? ⇒ Boolean
17
|
# File 'lib/pdfrb/model/type/three_d_lighting_scheme.rb', line 17
def primary?; subtype == :Primary; end
|
#red? ⇒ Boolean
19
|
# File 'lib/pdfrb/model/type/three_d_lighting_scheme.rb', line 19
def red?; subtype == :Red; end
|
9
|
# File 'lib/pdfrb/model/type/three_d_lighting_scheme.rb', line 9
def subtype; self[:Subtype]&.to_sym; end
|
8
|
# File 'lib/pdfrb/model/type/three_d_lighting_scheme.rb', line 8
def type; self[:Type]; end
|
#white? ⇒ Boolean
13
|
# File 'lib/pdfrb/model/type/three_d_lighting_scheme.rb', line 13
def white?; subtype == :White; end
|