Gets the spot position of the specified gradient segment.
PROCEDURE GetGradientSpotPosition(
gradient : HANDLE;
segmentIndex : INTEGER;
VAR position : REAL);def vs.GetGradientSpotPosition(gradient, segmentIndex):
return position| Name | Type | Description |
|---|---|---|
| gradient | HANDLE | Gradient that contains the segment. |
| segmentIndex | INTEGER | Segment from which to get the data. |
| position | REAL | Position of the segment's color spot relative to left-most point of the gradient. |
GetGradientSpotPosition(gradientHandle, 4, spotPosition);spotPosition = vs.GetGradientSpotPosition(gradientHandle, 4)Availability: from VectorWorks10.0