eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'RoundButtonBorder':

Home

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

Class: RoundButtonBorder


Inheritance:

   Object
   |
   +--AbstractBorder
      |
      +--RoundButtonBorder

Package:
stx:libview
Category:
Graphics-Support
Version:
rev: 1.7 date: 2023/11/27 19:34:15
user: cg
file: RoundButtonBorder.st directory: libview
module: stx stc-classLibrary: libview

Description:


experimental

|v b|

v := View new extent:100@100; openAndWaitUntilVisible.
b := RoundButtonBorder new.
b width:1 color:(Color rgbValue:16r707070).
b displayOn:v forDisplayBox:((0@0 corner:v extent) insetBy:10).
Delay waitForSeconds:3.

b width:1 color:(Color rgbValue:16r2C628B).
b displayOn:v forDisplayBox:((0@0 corner:v extent) insetBy:10).
Delay waitForSeconds:3.

b width:1 color:(Color rgbValue:16r3C7FB1).
b displayOn:v forDisplayBox:((0@0 corner:v extent) insetBy:10).

copyright

COPYRIGHT (c) 2009 by Claus Gittinger / 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 protocol:

accessing
o  color
the color of the border

o  color: aColor
set the color of the border

o  width

displaying
o  displayOn: aGC forDisplayBox: aRectangle
|v b|

v := View new openAndWaitUntilVisible.
b := RoundButtonBorder width:2 color:Color grey.
b displayOn:v forDisplayBox:(0@0 corner:v extent).



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Wed, 08 May 2024 03:02:31 GMT