DisplayObject.st
changeset 2658 757b1aea5fb8
parent 2267 e5d7628a03fc
child 2815 cb74506eb9e3
--- a/DisplayObject.st	Thu May 07 13:21:39 2009 +0200
+++ b/DisplayObject.st	Fri May 08 13:22:02 2009 +0200
@@ -126,6 +126,18 @@
     ^ self frame bottom
 !
 
+bottomCenter
+    ^ self frame bottomCenter
+!
+
+bottomLeft
+    ^ self frame bottomLeft
+!
+
+bottomRight
+    ^ self frame bottomRight
+!
+
 bounds
     "ST80 component compatibility"
 
@@ -182,6 +194,10 @@
     "Created: / 26-10-2006 / 18:08:42 / cg"
 !
 
+leftCenter
+    ^ self frame leftCenter
+!
+
 origin
     "return the frame origin"
 
@@ -207,10 +223,18 @@
     ^ self frame right
 !
 
+rightCenter
+    ^ self frame rightCenter
+!
+
 top
     ^ self frame top
 !
 
+topCenter
+    ^ self frame topCenter
+!
+
 topLeft
     ^ self frame topLeft
 !
@@ -552,5 +576,5 @@
 !DisplayObject class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/DisplayObject.st,v 1.35 2006-10-26 17:34:45 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/DisplayObject.st,v 1.36 2009-05-08 11:22:02 cg Exp $'
 ! !