Figured it out. Just thought I'd update this thread in case anyone could learn from it.
I ended out using: CAShapeLayer maskLayer = new CAShapeLayer (); maskLayer.Frame = view.Bounds; maskLayer.Path = MyCustomCGPath; view.Layer.Mask = maskLayer; and put that in the Draw() method. Hope this helps. Brett On Sun, Feb 26, 2012 at 5:44 PM, Brett Spurrier <[email protected]>wrote: > Hi all, > > I'm trying to extend the MonoTouch.Dialog owner drawn element example in > the MonoTouch.Dialog samples. > However, I've noticed that the clipping does not really work on the cells > (you'll see it when you run the example). > > Does anyone know how to correct this? I've managed to create a clipping > path and apply it to Draw(), and that *kinda* works in that it clips the > linear gradient to have rounded corners. But the actual drawn cell still > has that extra white in the corners of the UITableViewCell. > > Any one have any experience with this? > > Cheers, > Brett > >
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
