Class: Pdfrb::Model::Type::SoftMaskLuminosity

Inherits:
Cos::Dictionary show all
Defined in:
lib/pdfrb/model/type/soft_mask.rb

Overview

Luminosity soft mask (s11.6.5.3): the group's luminosity drives the mask.

Instance Attribute Summary

Attributes inherited from Object

#document, #gen, #oid, #value

Instance Method Summary collapse

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

#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::Cos::Dictionary

Instance Method Details

#alpha?Boolean

Returns:

  • (Boolean)


33
# File 'lib/pdfrb/model/type/soft_mask.rb', line 33

def alpha?; false; end

#backdrop_colorObject



30
# File 'lib/pdfrb/model/type/soft_mask.rb', line 30

def backdrop_color; self[:BC]; end

#groupObject



29
# File 'lib/pdfrb/model/type/soft_mask.rb', line 29

def group; self[:G]; end

#luminosity?Boolean

Returns:

  • (Boolean)


34
# File 'lib/pdfrb/model/type/soft_mask.rb', line 34

def luminosity?; true; end

#subtypeObject



28
# File 'lib/pdfrb/model/type/soft_mask.rb', line 28

def subtype; self[:S]; end

#transfer_functionObject



31
# File 'lib/pdfrb/model/type/soft_mask.rb', line 31

def transfer_function; self[:TR]; end

#typeObject



27
# File 'lib/pdfrb/model/type/soft_mask.rb', line 27

def type; self[:Type]; end