Get fillGradient props

Sannyasin Brahmanathaswami brahma at hindu.org
Thu Jul 7 16:27:16 EDT 2016


Goal: get an explicit list of gradient properties from an object.


command getGradientProps

set the defaultstack to the topstack

put the fillGradient of graphic "portal-title-bkgnd" into lCurrentObjectProperties

put the keys of tCurrentObjectProperties

repeat for each key x in lCurrentObjectProperties

put x & " | " & lCurrentObjectProperties[x] & cr after tCheckProperties

end repeat

put tCheckProperties

end getGradientProps

No matter how I try, I cannot fetch the keys of the gradient… the dictionary does not indicated that we cannot read this array

any ideas?

BR



More information about the use-livecode mailing list