VS:SetGradientMidpointPosition

From Vectorworks Developer
Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix


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

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.

Example

VectorScript

SetGradientMidpointPosition(gradientHandle, 4, 0.6);

Python


Version

Availability: from VectorWorks10.0
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox