Class: Fox::FXXBMIcon
- Inherits:
-
FXIcon
- Object
- FXObject
- FXId
- FXDrawable
- FXImage
- FXIcon
- Fox::FXXBMIcon
- Defined in:
- rdoc-sources/FXXBMIcon.rb
Overview
X Bitmap (XBM) Icon
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 ("xbm").
-
+ (Object) mimeType
Return the MIME type for this image type.
Instance Method Summary (collapse)
-
- (FXXBMIcon) initialize(a, pixels = nil, mask = nil, clr = 0, opts = 0, width = 1, height = 1)
constructor
Return an initialized FXXBMIcon 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
- (FXXBMIcon) initialize(a, pixels = nil, mask = nil, clr = 0, opts = 0, width = 1, height = 1)
Return an initialized FXXBMIcon instance.
Parameters:
a |
an application instance Fox::FXApp |
pixels |
a memory buffer formatted in XBM file format [String] |
mask |
a memory buffer formatted in XBM file format [String] |
clr |
transparency color Fox::FXColor |
opts |
options [Integer] |
width |
width [Integer] |
height |
height [Integer] |
29 30 |
# File 'rdoc-sources/FXXBMIcon.rb', line 29 def initialize(a, pixels=nil, mask=nil, clr=0, opts=0, width=1, height=1) # :yields: theXBMIcon end |
Class Method Details
+ (Object) fileExt
Return the suggested file extension for this image type ("xbm").
9 |
# File 'rdoc-sources/FXXBMIcon.rb', line 9 def FXXBMIcon.fileExt; end |
+ (Object) mimeType
Return the MIME type for this image type
14 |
# File 'rdoc-sources/FXXBMIcon.rb', line 14 def FXXBMIcon.mimeType; end |