element.bezier
This property gives access to all bezier 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.bezier.startPoint
Returns and sets the start point of the bezier curve as point.
myElem.bezier.startPoint.x = 107.55
myElem.bezier.startPoint.x = 237.87
element.bezier.bezFlag
Returns and sets the type of the first bezier curve as integer. 0 means “curve” and 1 means “corner”.
myElem.bezier.bezFlag = 1
element.bezier.segments[ ].selected
Returns the selected state of one bezier segment as integer. This property is read only. 0 means “not selected” and 1 means “selected”.
MESSAGE myElem.bezier.segments[1].selected
element.bezier.segments[ ].h1Point
Returns and sets the end point of the first bezier segment handle as point.
myElem.bezier.segments[1].h1Point.x = 18.6
myElem.bezier.segments[1].h1Point.y = 18.6
element.bezier.segments[ ].h2Point
Returns and sets the end point of the second bezier segment handle as point.
myElem.bezier.segments[1].h2Point.x = 32.68
myElem.bezier.segments[1].h2Point.y = 232.67
element.bezier.segments[ ].endPoint
Returns and sets the end point of one bezier segment as point.
myElem.bezier.segments[1].endPoint.x = 129.56
myElem.bezier.segments[1].endPoint.y = 122.53
element.bezier.segment[ ].bezFlag
Returns and sets the type of one bezier segment as integer. 0 means “curve” and 1 means “corner”.
myElem.bezier.segments[1].bezFlag = 1
element.bezier.segments[ ].pen
Returns and sets the pen of one bezier segment as string. Any existing pen is allowed.
myElem.bezier.segments[1].pen = "Thick"
element.bezier.segments[ ].style
Returns and sets the style of one bezier segment as string. Any existing style is allowed.
myElem.bezier.segments[1].style = "Solid"
element.bezier.segments[ ].halo
Returns and sets the halo of one bezier segment as string. Any existing halo is allowed.
myElem.bezier.segments[1].halo = "Autom. Long"