leStretchShape
leStretchShape(d_shapeId l_delta l_freePoints[g_lockAngles] ) => t / nil
Description
Stretches shape d_shapeId by the delta l_delta. Donuts cannot be stretched.
Arguments
Value Returned
Example
Stretches the right edge of shape shapeA 2 units in the Y direction. Two points of the shape are free to move and the angles of the shape cannot be changed.
leStretchShape( shapeA list( 0 2 ) list(nil t t nil) t )
You can also use geGetSelSet() and geGetSelSetFigPoint() to get the shape ID and Boolean list as shown here:
leStretchShape( car(geGetSelSet()) 0:2
geGetSelSetFigPoint( car(geGetSelSet()) ) t )
Interactive Function
Enter this function with only the window ID argument; the system prompts you to point to the shape to stretch, specify the distance to stretch, and specify free points. If you do not specify w_windowId, the current window is used.
leHiStretch( [ w_windowId ] ) => t / nil
Return to top