Class: Fox::FXGIFImage
- Defined in:
- rdoc-sources/FXGIFImage.rb
Overview
GIF Image class
Instance Attribute Summary
Attributes inherited from FXImage
#data, #dataPtr, #options, #pixels
Attributes inherited from FXDrawable
Attributes inherited from FXId
Class Method Summary collapse
-
.fileExt ⇒ Object
Return the suggested file extension for this image type (“bmp”).
-
.mimeType ⇒ Object
Return the suggested MIME type for this image type.
Instance Method Summary collapse
-
#initialize(a, pix = nil, opts = 0, width = 1, height = 1) ⇒ FXGIFImage
constructor
Return an initialized FXGIFImage instance.
Methods inherited from FXImage
#blend, #crop, #fade, #fill, #getPixel, #gradient, #hasAlpha?, #hgradient, #initialize_without_data_string, #loadPixels, #mirror, #pixel_string, #release, #render, #restore, #rotate, #savePixels, #scale, #setPixel, #setPixels, #setPixels_without_data_string, #vgradient, #xshear, #yshear
Methods inherited from FXDrawable
Methods inherited from FXId
#create, #created?, #destroy, #detach, #runOnUiThread
Methods inherited from FXObject
#bind, #handle, #load, #save, subclasses
Constructor Details
#initialize(a, pix = nil, opts = 0, width = 1, height = 1) ⇒ FXGIFImage
Return an initialized FXGIFImage instance.
Parameters:
a
-
an application instance Fox::FXApp
pix
-
a memory buffer formatted in GIF file format [String]
opts
-
options [Integer]
width
-
width [Integer]
height
-
height [Integer]
25 26 |
# File 'rdoc-sources/FXGIFImage.rb', line 25 def initialize(a, pix=nil, opts=0, width=1, height=1) # :yields: theGIFImage end |
Class Method Details
.fileExt ⇒ Object
Return the suggested file extension for this image type (“bmp”).
7 |
# File 'rdoc-sources/FXGIFImage.rb', line 7 def FXGIFImage.fileExt; end |
.mimeType ⇒ Object
Return the suggested MIME type for this image type.
12 |
# File 'rdoc-sources/FXGIFImage.rb', line 12 def FXGIFImage.mimeType; end |