[View] [Edit] [Lock] [References] [Attachments] [History] [Home] [Changes] [Search] [Help]
VSE Rectangle
Important
Class methods
leftTop:extent:VSES8Compatible
leftTop:rightBottom:VSES8Compatible
leftBottom:rightTop:VSE
RECOMMENDATION: In order to campatibilize it is possible to add #leftBottom:rightTop: class method on S8. See also #leftBottom:rightTop: instance method on this section.
! Rectangle class methodsFor:#instantiation-VSECompat !
leftBottom: leftBottomPoint rightTop: rightTopPoint
"Answer a Rectangle with leftBottom and rightTop points
described by leftBottomPoint and rightTopPoint."
^self new leftBottom: leftBottomPoint rightTop: rightTopPoint! !
origin:corner:VSE
RECOMMENDATION: In order to campatibilize it is possible to add #origin:corner: class method on S8. See also #origin:corner: instance method on this section.
! Rectangle class methodsFor:#instantiation-VSECompat !
origin: originPoint corner: cornerPoint
"Answer a Rectangle with origin and corner points
described by originPoint and cornerPoint."
^self new origin: originPoint corner: cornerPoint ! !
Instance methods
=VSES8Compatible
areaVSES8Compatible
areasOutside:VSES8Compatible
bottomVSES8Compatible
bottomCenterVSES8Compatible
bottomLeftVSES8Compatible
bottomRightVSES8Compatible
centerVSES8Compatible
contains:VSES8Compatible
containsPoint:VSES8Compatible
extentVSES8Compatible
extent:VSES8Compatible
heightVSES8Compatible
height:VSES8Compatible
insetBy:VSES8Compatible
intersect:VSES8Compatible
intersects:VSES8Compatible
isRectangleVSES8Compatible
leftVSES8Compatible
leftBottomVSES8Compatible
leftBottom:rightTop:VSE
RECOMMENDATION: In order to campatibilize it is possible to add #leftBottom:rightTop: method on S8.
! Rectangle methodsFor: #accesing-VSECompat !
leftBottom: leftBottomPoint rightTop: rightTopPoint
"Change the receiver to match leftBottomPoint
and rightTopPoint."
leftTop := leftBottomPoint x @ rightTopPoint y.
rightBottom := rightTopPoint x @ leftBottomPoint y! !
leftCenterVSES8Compatible
leftTopVSES8Compatible
leftTop:VSES8Compatible
leftTop:extent:VSE
RECOMMENDATION: In order to campatibilize it is possible to add #leftTop:extent: method on S8 side as follows:
! Rectangle methodsFor: #accessing-VSECompat !
leftTop: leftTop extent: extent
"Change the receiver's top left corner to
leftTopPoint and its extent to extentPoint."
^self leftTop: leftTop rightBottom: leftTop + extent! !
leftTop:rightBottom:VSES8Compatible
merge:VSES8Compatible
moveBy:VSES8Compatible
nonIntersections:VSES8Compatible
origin:corner:VSE
RECOMMENDATION: In order to campatibilize it is possible to add #origin:corner: method on S8 side as follows:
! Rectangle methodsFor:#accesing-VSECompat !
origin: originPoint corner: cornerPoint
"Change the receiver's top left corner to
originPoint and its bottom right corner to
cornerPoint."
self leftTop: originPoint rightBottom: cornerPoint ! !
rightVSES8Compatible
rightBottomVSES8Compatible
rightBottom:VSES8Compatible
rightCenterVSES8Compatible
rightTopVSES8Compatible
roundedVSES8Compatible
scaleBy:VSES8Compatible
scaleTo:VSES8Compatible
topVSES8Compatible
topCenterVSES8Compatible
topLeftVSES8Compatible
topLeft:VSES8Compatible
topRightVSES8Compatible
translateBy:VSES8Compatible
truncatedVSES8Compatible
widthVSES8Compatible
width:VSES8Compatible
Secondary
Instance methods
asLayoutVSE
asLayoutInsetVSE
asLayoutRatioVSE
asNormalizedRectangleVSE
asParameterVSE
asRectangleVSE
asRectangleParameterVSE
asRectangleParameterVSE
bottom:VSE
bottomLeft:VSE
bottomRight:VSE
changeContainingRect:to:VSE
codeGenerationMessageExpressionIn:VSE
cornerVSE
corner:VSE
deviceToLogical:VSE
expandBy:VSE
isNormalizedVSE
leftVSE
leftBottom:VSE
leftBottom:extent:VSE
leftBottom:rightTop:VSE
mapClientToScreen:VSE
mapFromWindow:to:VSE
mapScreenToClient:VSE
mapToScreen:VSE
mapToWindow:VSE
originVSE
origin:VSE
origin:extent:VSE
partMessagesVSE
printOn:VSE
right:VSE
rightTop:VSE
scaleFrom:VSE
top:VSE
topRight:VSE
Class methods
leftBottom:extent:VSE
leftBottomUnitVSE
leftTopUnitVSE
origin:extent:VSE
rightBottomUnitVSE
rightTopUnitVSE
Class methods
Instance methods
hash, moveBy:, relativeTo: