[MonoTouch] Not sure if MT Bug. Would appreciate MT guys taking a quick look

dermotos me at dermotos.com
Thu Mar 8 03:21:25 UTC 2012


For anyone else looking at animating custom properties, i've abandoned this.
There is zero info on the web about doing this in Monotouch, and the
instructions for doing it in objective c don't map directly to monotouch :-(

I ended up doing what I need to do in a roundabout way using the standard
properties.
To draw a circle, i instead draw a square (!!) and set the border to the
thickness of the circle ring I want.
I then set the corner radius of the square to 1/2 that of the height/width,
which results in a circle.

To animate, I animate the cornerRadius and bounds together in a
CATransaction  (rather than trying to animate my custom Radius property),
ensuring that the cornerRadius is always 50% of the bounds height/width.

--
View this message in context: http://monotouch.2284126.n4.nabble.com/Not-sure-if-MT-Bug-Would-appreciate-MT-guys-taking-a-quick-look-tp4448960p4455475.html
Sent from the MonoTouch mailing list archive at Nabble.com.


More information about the MonoTouch mailing list