|
Class: MultiImage
Object
|
+--MultiImage
- Package:
- stx:libview2
- Category:
- Graphics-Images
- Version:
- rev:
1.17
date: 2021/01/20 16:04:22
- user: cg
- file: MultiImage.st directory: libview2
- module: stx stc-classLibrary: libview2
A multiImage is an image which is drawn by drawing multiple images on top of each other.
Typically, they are used to overlay additional information,
for example a stop-icon or a link-arrow over a fileType icon.
try:
MIMETypeIconLibrary iconForFile:'/foo/bar/baz.c' asFilename
caveat:
instances provide enough protocol to be shown as icon, label, etc.
(i.e. provide a replacement for images and forms).
However, not all tools are prepared for them not having mask, bits etc.
Especially, the ImageEditor gets a bit confused and may fall into a debugger,
if trying to edit one of my instances.
copyrightCOPYRIGHT (c) 2003 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
instance creation
-
images: imageCollection
-
accessing
-
device
-
Please use graphicsDevice for ST80 compatibility.
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
graphicsDevice
-
-
images
-
return the value of the instance variable 'images' (automatically generated)
-
images: something
-
set the value of the instance variable 'images' (automatically generated)
-
mask
-
displaying
-
displayOn: aGC x: x y: y opaque: opaque
-
(comment from inherited method)
display the receiver in a graphicsContext - this method allows
for any object to be displayed in a ListView (or any view) - for example.
The fallBack here shows the receiver's displayString.
Notice, that the string is displayed on the baseLine;
ask using #ascentOn: if required
misc
-
asFormOn: aDevice
-
-
clearMaskedPixels
-
-
onDevice: device
-
misc ui support
-
inspectorClass
( an extension from the stx:libtool package )
-
redefined to launch an ImageInspector
(instead of the default InspectorView).
queries
-
ascentOn: aGC
-
I will not draw myself above the baseline
-
depth
-
-
extent
-
-
height
-
-
isImageOrForm
-
-
width
-
|