Gradients (was "Re: Table field")
pete at lcsql.com
Wed Jun 27 01:24:53 CDT 2012
Thanks Bernd. I think I'm finally beginning to understand at least some of
the gradient parameters. I still can't figure out how to do this in the
Inspector though but that's OK, the scripts from everyone work great.
lcSQL Software <http://www.lcsql.com>
On Tue, Jun 26, 2012 at 2:07 PM, BNig <niggemann at uni-wh.de> wrote:
> the ramp of the gradient has 4 positons. 1 at 0, 2 at .50001 and 1 at
> the ramp is what you work on in the inspector.
> the first two define the first color and the other two the second color. By
> setting the color of the pair of the positions to the same color and making
> the middle position the same you get the homogenous colors and the sharp
> dividing line.
> in Ken's wonderful stack you could fill these values in
> Type: linear
> To: 377,400
> Quality: good
> Ramp: 0.00000,255,255,255
> From: 374,191
> Via: 469,191
> Mirror: false
> Repeat: 1
> Wrap: true
> That is the fillgradient from the graphic alternatingLines. The To, Via,
> From values are for Ken's stack.
> It is helpful to make a little script that gets the fillgradient (or
> strokegradient) of a graphic:
> put the fillgradient of grc "myGraphic" into tData
> combine tData by return and tab
> put tData into field "myField"
> Kind regards
> View this message in context:
> Sent from the Revolution - User mailing list archive at Nabble.com.
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode