Sets the spot color of the specified gradient segment.
PROCEDURE SetGradientSpotColor(
gradient : HANDLE;
segmentIndex : INTEGER;
red : LONGINT;
green : LONGINT;
blue : LONGINT);def vs.SetGradientSpotColor(gradient, segmentIndex, red, green, blue):
return None| Name | Type | Description |
|---|---|---|
| gradient | HANDLE | Gradient that contains the segment. |
| segmentIndex | INTEGER | Segment for which to set the data. |
| red | LONGINT | Red component of the color spot's color. |
| green | LONGINT | Green component of the color spot's color. |
| blue | LONGINT | Blue component of the color spot's color. |
SetGradientSpotColor(gradientHandle, 4, 255, 255, 255);Availability: from VectorWorks10.0