eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'MultiImage':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: MultiImage


Inheritance:

   Object
   |
   +--MultiImage

Package:
stx:libview2
Category:
Graphics-Images
Version:
rev: 1.12 date: 2018/01/18 19:32:51
user: cg
file: MultiImage.st directory: libview2
module: stx stc-classLibrary: libview2
Author:
Claus Gittinger

Description:


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.
    


Class protocol:

instance creation
o  images: imageCollection


Instance protocol:

accessing
o  device

o  images
return the value of the instance variable 'images' (automatically generated)

o  images: something
set the value of the instance variable 'images' (automatically generated)

displaying
o  displayOn: aGC x: x y: y opaque: opaque

misc
o  clearMaskedPixels

o  onDevice: device

misc ui support
o  inspectorClass
( an extension from the stx:libtool package )
redefined to launch an ImageInspector
(instead of the default InspectorView).

queries
o  ascentOn: aGC
I will not draw myself above the baseline

o  depth

o  extent

o  height

o  isImageOrForm

o  width



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Sun, 18 Nov 2018 08:30:31 GMT