Class: Fox::FXTIFIcon
- Defined in:
- rdoc-sources/FXTIFIcon.rb
Overview
Tagged Image File Format (TIFF) Icon
Instance Attribute Summary collapse
-
#codec ⇒ Object
Codec setting [Integer].
Attributes inherited from FXIcon
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 (“tif”).
-
.mimeType ⇒ Object
Return the MIME type for this image type.
-
.supported? ⇒ Boolean
Return
true
if TIF image file format is supported.
Instance Method Summary collapse
-
#initialize(a, pix = nil, clr = 0, opts = 0, width = 1, height = 1) ⇒ FXTIFIcon
constructor
Return an initialized FXTIFIcon 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, clr = 0, opts = 0, width = 1, height = 1) ⇒ FXTIFIcon
Return an initialized FXTIFIcon instance.
Parameters:
a
-
an application instance Fox::FXApp
pix
-
a memory buffer formatted in TIFF file format [String]
clr
-
transparency color Fox::FXColor
opts
-
options [Integer]
width
-
width [Integer]
height
-
height [Integer]
34 35 |
# File 'rdoc-sources/FXTIFIcon.rb', line 34 def initialize(a, pix=nil, clr=0, opts=0, width=1, height=1) # :yields: theTIFIcon end |
Instance Attribute Details
#codec ⇒ Object
Codec setting [Integer]
20 21 22 |
# File 'rdoc-sources/FXTIFIcon.rb', line 20 def codec @codec end |
Class Method Details
.fileExt ⇒ Object
Return the suggested file extension for this image type (“tif”).
9 |
# File 'rdoc-sources/FXTIFIcon.rb', line 9 def FXTIFIcon.fileExt; end |
.mimeType ⇒ Object
Return the MIME type for this image type
14 |
# File 'rdoc-sources/FXTIFIcon.rb', line 14 def FXTIFIcon.mimeType; end |
.supported? ⇒ Boolean
Return true
if TIF image file format is supported.
17 |
# File 'rdoc-sources/FXTIFIcon.rb', line 17 def FXTIFIcon.supported? ; end |