GradientStopPropertyOffset
Type
operator
Summary
The offset of a gradient stop value.
Syntax
the offset of <mStop>
Description
The offset of mStop.
Parameters
Name | Type | Description |
---|---|---|
mStop | An expression which evaluates to a gradient stop. |
Examples
variable tStop
put gradient stop at 0 with color [1,1,1] into tStop
// Get the offset of a stop
variable tOffset
put the offset of tStop into tOffset
// Move the stop to a new offset
set the offset of tStop to 0.75