Class: Yuki::GifReader
- Defined in:
- LiteRGSS.rb.yard.rb,
docs/0_Dependencies.rb
Overview
Class that helps to read Gif
Defined Under Namespace
Classes: Error
Instance Attribute Summary collapse
-
#frame ⇒ Integer
Return the frame index of the Gif image.
-
#frame_count ⇒ Integer
readonly
Return the number of frame in the Gif image.
-
#height ⇒ Integer
Return the height of the Gif image.
-
#width ⇒ Integer
Return the width of the Gif image.
Class Method Summary collapse
-
.create(filename, cache_name, hue = 0) ⇒ GifReader?
Create a new GifReader from archives.
-
.delta_counter=(value)
Set the delta counter used to count frames.
-
.exist?(filename, cache_name, hue = 0) ⇒ Boolean
Check if a Gif Exists.
-
.new(filenameordata, from_memory = false)
Create a new GifReader.
Instance Method Summary collapse
-
#draw(bitmap) ⇒ self
Draw the current frame in a bitmap.
- #old_update
-
#update(bitmap) ⇒ self
Update the gif animation.
Instance Attribute Details
#frame ⇒ Integer
Return the frame index of the Gif image
1245 1246 1247 |
# File 'LiteRGSS.rb.yard.rb', line 1245 def frame @frame end |
#frame_count ⇒ Integer (readonly)
Return the number of frame in the Gif image
1247 1248 1249 |
# File 'LiteRGSS.rb.yard.rb', line 1247 def frame_count @frame_count end |
#height ⇒ Integer
Return the height of the Gif image
1243 1244 1245 |
# File 'LiteRGSS.rb.yard.rb', line 1243 def height @height end |
#width ⇒ Integer
Return the width of the Gif image
1241 1242 1243 |
# File 'LiteRGSS.rb.yard.rb', line 1241 def width @width end |
Class Method Details
.create(filename, cache_name, hue = 0) ⇒ GifReader?
Create a new GifReader from archives
580 581 |
# File 'docs/0_Dependencies.rb', line 580 def create(filename, cache_name, hue = 0) end |
.delta_counter=(value)
Set the delta counter used to count frames
1268 1269 1270 |
# File 'LiteRGSS.rb.yard.rb', line 1268 def self.delta_counter=(value) end |
.exist?(filename, cache_name, hue = 0) ⇒ Boolean
Check if a Gif Exists
587 588 |
# File 'docs/0_Dependencies.rb', line 587 def exist?(filename, cache_name, hue = 0) end |
.new(filenameordata, from_memory = false)
Create a new GifReader
1251 1252 1253 |
# File 'LiteRGSS.rb.yard.rb', line 1251 def self.new(filenameordata, from_memory = false) end |
Instance Method Details
#draw(bitmap) ⇒ self
Draw the current frame in a bitmap
1263 1264 1265 |
# File 'LiteRGSS.rb.yard.rb', line 1263 def draw(bitmap) end |
#old_update
590 |
# File 'docs/0_Dependencies.rb', line 590 alias old_update update |
#update(bitmap) ⇒ self
Update the gif animation
594 595 |
# File 'docs/0_Dependencies.rb', line 594 def update(bitmap) end |