Class: Pdfrb::Model::Type::GroupAttributes
Overview
Transparency group /Group dictionary (s11.2.4.5): isolation
and knockout flags, blending color space.
Instance Attribute Summary
Attributes inherited from Object
#document, #gen, #oid, #value
Instance Method Summary
collapse
#[], #[]=, 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
#arlington_object
Methods inherited from Object
#==, define_type, #deref, #indirect?, #initialize, #must_be_indirect?, #pdf_type, pdf_type, #ref
Instance Method Details
#color_space ⇒ Object
51
|
# File 'lib/pdfrb/model/type/soft_mask.rb', line 51
def color_space; self[:CS]; end
|
#isolated? ⇒ Boolean
52
|
# File 'lib/pdfrb/model/type/soft_mask.rb', line 52
def isolated?; self[:I] == true; end
|
#knockout? ⇒ Boolean
53
|
# File 'lib/pdfrb/model/type/soft_mask.rb', line 53
def knockout?; self[:K] == true; end
|
50
|
# File 'lib/pdfrb/model/type/soft_mask.rb', line 50
def subtype; self[:S]; end
|
#transparency_group? ⇒ Boolean
55
56
57
|
# File 'lib/pdfrb/model/type/soft_mask.rb', line 55
def transparency_group?
subtype == :Transparency
end
|
49
|
# File 'lib/pdfrb/model/type/soft_mask.rb', line 49
def type; self[:Type]; end
|