Help needed for filling in custom shapes

Discussion in 'iOS Programming' started by iphonemania123, May 2, 2010.

  1. iphonemania123 macrumors newbie

    May 2, 2010
    I would like to create an app where the user can draw custom shapes and then fill them in. I currently intercept the touchesBegan event and draw the path as the user moves the touches on the screen. However I am unable to fill in the drawn path. How do I let the user draw custom shapes and then let them fill the shapes in?
  2. robbieduncan Moderator emeritus


    Jul 24, 2002
    How are you drawing the path? Personally I'd use the various CoreGraphics functions to create a closed path and then fill it.

Share This Page