Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.07 KB

File metadata and controls

43 lines (35 loc) · 1.07 KB

SetGradientSpotColor

Description

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

Parameters

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.

Examples

VectorScript

SetGradientSpotColor(gradientHandle, 4, 255, 255, 255);

Python

Version

Availability: from VectorWorks10.0

Category