tags:

views:

44

answers:

1

Is it possible to do that with quartz?

+2  A: 

Simply use CGContextSetShadow(context, offset, blur) prior to drawing your path.

CGSize offset;
float blur;
offset.width = 10;
offset.height = -10;

CGContextSetShadow(context, offset, blur);
CGContextRect(context, CGRectMake(20, 20, 100, 100);
Ralf Edmund
That doesn't work. Even though I could manage to draw a simple line, it won't be blurry at all.
dontWatchMyProfile