Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 932 Bytes

File metadata and controls

39 lines (31 loc) · 932 Bytes

SetGradientMidpointPosition

Description

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

Parameters

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.

Examples

VectorScript

SetGradientMidpointPosition(gradientHandle, 4, 0.6);

Python

Version

Availability: from VectorWorks10.0

Category