eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'RoundedBorder':

Home

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

Class: RoundedBorder


Inheritance:

   Object
   |
   +--AbstractBorder
      |
      +--SimpleBorder
         |
         +--RoundedBorder

Package:
stx:libview
Category:
Graphics-Support
Version:
rev: 1.2 date: 2017/02/22 20:18:32
user: cg
file: RoundedBorder.st directory: libview
module: stx stc-classLibrary: libview
Author:
Claus Gittinger

Description:


a rounded border as in modern yosemite and new adwaita


Related information:

    Border

Class protocol:

image specs
o  templateBottomLeftImage
self templateBottomLeftImage

o  templateBottomRightImage
self templateBottomRightImage

o  templateTopLeftImage
TemplateTopLeft := TemplateTopRight := nil.
TemplateBottomLeft := TemplateBottomRight := nil.

o  templateTopRightImage
self templateTopRightImage

o  topLeftImageUnfilledMasked
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
     self topLeftImageUnfilledMasked inspect
     ImageEditor openOnClass:self andSelector:#topLeftImageUnfilledMasked
     Icon flushCachedIcons

o  topLeftImageUnfilledMasked2
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
     self topLeftImageUnfilledMasked2 inspect
     ImageEditor openOnClass:self andSelector:#topLeftImageUnfilledMasked2
     Icon flushCachedIcons

o  topLeftImageUnfilledMasked3
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
     self topLeftImageUnfilledMasked3 inspect
     ImageEditor openOnClass:self andSelector:#topLeftImageUnfilledMasked3
     Icon flushCachedIcons

o  topLeftImageUnfilledMasked4
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
     self topLeftImageUnfilledMasked4 inspect
     ImageEditor openOnClass:self andSelector:#topLeftImageUnfilledMasked4
     Icon flushCachedIcons


Instance protocol:

displaying
o  displayOn: aGC forDisplayBox: aRectangle

private
o  makeImages


Examples:


     |v b|

     v := StandardSystemView extent:200@100.
     v openAndWait.
         
     b := RoundedBorder width:5 color:Color red.
     b displayOn:v forDisplayBox:(0@0 extent:100@100).
     |t v b|

     t := StandardSystemView extent:200@100.
     t viewBackground:Color green.
     v := View in:t.
     v viewBackground:Color red.
     v origin:10@10 corner:90@90.
     t openAndWait.

     b := RoundedBorder width:10 color:Color red.
     v border:b


ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Sat, 17 Nov 2018 08:39:41 GMT