Not sure why this won't work... I get the rounded rectangle but no shadow?

    context.SaveState();
    CGPath container = new CGPath();
    container = Utilities.MakeRoundedRectPath(detailRect, 20);
    context.AddPath (container);
    context.Clip ();
    context.SetShadow(new SizeF(10f, 10f), 15f);
    context.SetFillColor(back); //??
    context.FillRect(detailRect);
    context.RestoreState();

Thanks,
Rick

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Adding-shadow-to-a-path-tp4270408p4270408.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to