Class: SwfRuby::Lossless2ReplaceTarget
- Inherits:
-
ReplaceTarget
- Object
- ReplaceTarget
- SwfRuby::Lossless2ReplaceTarget
- Defined in:
- lib/swf_ruby/replace_target.rb
Instance Attribute Summary collapse
-
#image ⇒ Object
Returns the value of attribute image.
Attributes inherited from ReplaceTarget
Instance Method Summary collapse
-
#initialize(offset, image) ⇒ Lossless2ReplaceTarget
constructor
A new instance of Lossless2ReplaceTarget.
Constructor Details
#initialize(offset, image) ⇒ Lossless2ReplaceTarget
Returns a new instance of Lossless2ReplaceTarget.
20 21 22 23 |
# File 'lib/swf_ruby/replace_target.rb', line 20 def initialize(offset, image) @offset = offset @image = SwfRuby::Swf::BitsLossless2.new(image) end |
Instance Attribute Details
#image ⇒ Object
Returns the value of attribute image.
18 19 20 |
# File 'lib/swf_ruby/replace_target.rb', line 18 def image @image end |