Arbortext IsoDraw > Macro Language Reference > Object Data Types > Element Object > element.rect
  
element.rect
This property gives access to all rectangle attributes but it can not be used directly. It is assumed that myElem has already been defined as an element for the following samples
element.rect.startPoint
Returns and sets the start point of the rectangle as point.
myElem.rect.startPoint.x = 107.55
myElem.rect.startPoint.y = 200.89
element.rect.segments[ ].selected
Returns the selected state of one rectangle segment as integer. This property is read only. 0 means “not selected” and 1 means “selected”.
MESSAGE myElem.rect.segments[1].selected
element.rect.segments[ ].endPoint
Returns and sets the end point of one rectangle segment as point.
myElem.rect.segments[1].endPoint.x = 388.66
myElem.rect.segments[1].endPoint.y = 388.66
element.rect.segments[ ].pen
Returns and sets the pen of one rectangle segment as string. Any existing pen is allowed.
myElem.rect.segments[1].pen = "Thick"
element.rect.segments[ ].style
Returns and sets the style of one rectangle segment as string. Any existing style is allowed.
myElem.rect.segments[1].style = "Solid"
element.rect.segments[ ].halo
Returns and sets the halo of one rectangle segment as string. Any existing halo is allowed.
myElem.rect.segments[1].halo = "Autom. Long"