I am drawing lines using CGContext but I want to make its edges blur. I have checked shadows, but in shadows the edges of lines are not soft & smooth. Kindly tell me what can I do to make the edges of lines blur.
Here’s the code link
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m not entirely sure what you mean by blurring the “edges” of lines, but you could try drawing the same path with a larger line width first, and then draw the path with progressively thinner and darker lines.