Arbortext IsoDraw > Macro Language Reference > Object Data Types > Element Object > element.polygon
  
element.polygon
This property gives access to all polygon 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.polygon.startPoint
Returns and sets the start point of the polygon as point.
myElem.polygon.startPoint.x = 107.55
myElem.polygon.startPoint.y = 107.55
element.polygon.segments[ ].selected
Returns the selected state of one polygon segment as integer. This property is read only. 0 means “not selected” and 1 means “selected”.
MESSAGE myElem.polygon.segments[1].selected
element.polygon.segments[ ].endPoint
Returns and sets the end point of one polygon segment as point.
myElem.polygon.segments[1].endPoint.x = 188.66
myElem.polygon.segments[1].endPoint.y = 348.66
element.polygon.segments[ ].pen
Returns and sets the pen of one polygon segment as string. Any existing pen is allowed.
myElem.polygon.segments[1].pen = "Thick"
element.polygon.segments[ ].style
Returns and sets the style of one polygon segment as string. Any existing style is allowed.
myElem.polygon.segments[1].style = "Solid"
element.polygon.segments[ ].halo
Returns and sets the halo of one polygon segment as string. Any existing halo is allowed.
myElem.polygon.segments[1].halo = "Autom. Long"