Class: Pdfrb::Model::Type::XObjectImageSoftMask

Inherits:
Cos::Stream show all
Defined in:
lib/pdfrb/model/type/xobject_image.rb

Overview

Soft-mask image XObject (s8.9.6.5): grayscale companion used as a shape/opacity mask via /SMask.

Instance Attribute Summary

Attributes inherited from Cos::Stream

#stream

Attributes inherited from Object

#document, #gen, #oid, #value

Instance Method Summary collapse

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

#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::Stream

Instance Method Details

#color_spaceObject



86
# File 'lib/pdfrb/model/type/xobject_image.rb', line 86

def color_space; self[:ColorSpace]; end

#matteObject



87
# File 'lib/pdfrb/model/type/xobject_image.rb', line 87

def matte; self[:Matte]; end