GradientStopPropertyOffset

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
the offset of <mStop>
Associationscom.livecode.canvas
Summary

The offset of a gradient stop value.

Parameters
NameTypeDescription
mStop

An expression which evaluates to a gradient stop.

Example
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
Description

The offset of mStop.

Tagscanvas