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.13 date: 2018/10/25 10:49:12
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  graphicsDevice

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)

o  mask

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

misc
o  asFormOn: aDevice

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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 19 Apr 2024 07:38:28 GMT