eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ImageBackground':

Home

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

Class: ImageBackground


Inheritance:

   Object
   |
   +--AbstractBackground
      |
      +--ImageBackground

Package:
stx:libview
Category:
Graphics-Support
Version:
rev: 1.4 date: 2017/02/22 20:15:43
user: cg
file: ImageBackground.st directory: libview
module: stx stc-classLibrary: libview

Instance protocol:

accessing
o  align: something

o  image: something

drawing
o  fillRectangleX: x y: y width: w height: h in: aView
align == #left


Examples:


    |v|

    v := View new.
    v viewBackground:(ImageBackground new image:(Image fromFile:'~/work/stx/hsv.png')).
    v open.
    |v|

    v := View new.
    v viewBackground:(ImageBackground new 
                            image:(Image fromFile:'~/work/stx/hsv.png');
                            align:#fit).
    v open.


ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Sat, 20 Apr 2024 10:11:57 GMT