• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to animate a color in my custom layer draw code?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to animate a color in my custom layer draw code?


  • Subject: How to animate a color in my custom layer draw code?
  • From: Rick Mann <email@hidden>
  • Date: Thu, 10 Jul 2008 01:50:36 -0700

I have code that draws the content of my layers. It's made up of various Quartz primitives.

I'd like to animate aspects of these drawings, like the color of certain lines (for example). Is it possible to do this? It would require having a property that CA can change, and require that my draw code be called each frame.

Is this something that would require a custom CAAnimation subclass? Is there documentation for this? I read through the "Core Animation Programming Guide," but haven't found what I seek.

TIA,
--
Rick

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Making a text cell in a table editable
  • Next by Date: Re: Making a text cell in a table editable
  • Previous by thread: Re: Setting the color label
  • Next by thread: text hilighting
  • Index(es):
    • Date
    • Thread