Class: Fox::FXGIFIcon
- Inherits:
-
FXIcon
- Object
- FXObject
- FXId
- FXDrawable
- FXImage
- FXIcon
- Fox::FXGIFIcon
- Defined in:
- rdoc-sources/FXGIFIcon.rb
Overview
GIF Icon class.
Instance Attribute Summary
Attributes inherited from FXIcon
Attributes inherited from FXImage
Attributes inherited from FXDrawable
Attributes inherited from FXId
Class Method Summary (collapse)
-
+ (Object) fileExt
Return the suggested file extension for this image type ("bmp").
-
+ (Object) mimeType
Return the suggested MIME type for this image type.
Instance Method Summary (collapse)
-
- (FXGIFIcon) initialize(a, pix = nil, clr = 0, opts = 0, width = 1, height = 1)
constructor
Return an initialized FXGIFIcon instance.
Methods inherited from FXImage
#blend, #crop, #fade, #fill, #getPixel, #gradient, #hasAlpha?, #hgradient, #loadPixels, #mirror, #pixel_string, #release, #render, #restore, #rotate, #savePixels, #scale, #setPixel, #setPixels, #vgradient, #xshear, #yshear
Methods inherited from FXDrawable
Methods inherited from FXId
#create, #created?, #destroy, #detach
Methods inherited from FXObject
#bind, #handle, #load, #save, subclasses
Constructor Details
- (FXGIFIcon) initialize(a, pix = nil, clr = 0, opts = 0, width = 1, height = 1)
Return an initialized FXGIFIcon instance.
Parameters:
a |
an application instance Fox::FXApp |
pix |
a memory buffer formatted in GIF file format [String] |
clr |
transparency color Fox::FXColor |
opts |
options [Integer] |
width |
width [Integer] |
height |
height [Integer] |
28 29 |
# File 'rdoc-sources/FXGIFIcon.rb', line 28 def initialize(a, pix=nil, clr=0, opts=0, width=1, height=1) # :yields: theGIFIcon end |
Class Method Details
+ (Object) fileExt
Return the suggested file extension for this image type ("bmp").
9 |
# File 'rdoc-sources/FXGIFIcon.rb', line 9 def FXGIFIcon.fileExt; end |
+ (Object) mimeType
Return the suggested MIME type for this image type
14 |
# File 'rdoc-sources/FXGIFIcon.rb', line 14 def FXGIFIcon.mimeType; end |