Colouring a circle and its segments

Scott Rossi scott at tactilemedia.com
Wed Jul 24 16:04:22 EDT 2013


You can also create the effect of colorizing a "slice" of an oval graphic
-- like a pie chart -- by using a conical fillGradient.  This allows you
to display the complete circle in one color, and the slice in another
color.

Ex: http://tinyurl.com/l6gkyqm

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/24/13 12:36 PM, "Paul Hibbert" <paulhibbert at mac.com> wrote:

>Hi from Super, Natural, Vancouver Island,
>
>Some answers:
>
> set the opaque of grc "myCircle" to true  -- Make the graphic opaque to
>see the colour
> set the backColor of grc "myCircle" to "orange"  -- Colour the graphic
>in orange, or you could use RGB colours e.g. 248,128,23
> set the startAngle of grc "myCircle" to "60"  -- Rotates the start point
>of the graphic anti clockwise by 60 degrees
> set the arcAngle of grc "myCircle" to "30"  -- Changes the graphic
>circle to a 30 degree Arc
>
>HTH
>
>Paul
>
>On 2013-07-24, at 11:51 AM, Francis Nugent Dixon wrote:
>
>> Hi from Beautiful Brittany,
>> 
>> Strange, can't find these answers on the Internet,
>> and I have tried all the colour instructions to no avail.
>> 
>> 1 - How do you colour a circle (graphic) ?
>> 2 - How do you colour a segment of this circle ?
>> 
>> Answers welcome ŠŠ
>> 
>> -Francis
>> 
>> "Nothing should ever be done for the first time !"
>> _______________________________________________
>> 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
>
>
>_______________________________________________
>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