Sets the midpoint position of the specified gradient segment.
PROCEDURE SetGradientMidpointPosition(
gradient : HANDLE;
segmentIndex : INTEGER;
position : REAL);def vs.SetGradientMidpointPosition(gradient, segmentIndex, position):
return None| Name | Type | Description |
|---|---|---|
| gradient | HANDLE | Gradient that contains the segment. |
| segmentIndex | INTEGER | Segment for which to set the data. |
| position | REAL | Position of the segment's midpoint relatvie to color spot immediately to left. |
SetGradientMidpointPosition(gradientHandle, 4, 0.6);Availability: from VectorWorks10.0