Gradients with transparency?
Terry Judd
terry.judd at unimelb.edu.au
Mon Apr 3 08:38:08 EDT 2017
Thanks Mark, I'll try that out.
Regards,
Terry...
Sent from my iPad
> On 3 Apr 2017, at 8:30 pm, Mark Waddingham via use-livecode <use-livecode at lists.runrev.com> wrote:
>
>> On 2017-04-03 11:37, Terry Judd via use-livecode wrote:
>> Is it possible to have a gradient with one of its end-points being
>> transparent instead of a solid colour?
>
> Yes the color values you specify for gradients can have an alpha component. For example:
>
> 0.5,255,0,0 -> at half way through the gradient, the color should be solid red
>
> 0.5,255,0,0,127 -> at half way through the gradient, the color should be 50% transparent red.
>
> Hope this helps!
>
> Mark.
>
> --
> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list