how to get area being touched

Discussion in 'iOS Programming' started by JGoose, May 9, 2010.

  1. JGoose macrumors member

    Joined:
    Feb 12, 2010
    #1
    Is there any way to retrieve all the area being touched in a view?

    For example:
    Can I change the color of all the pixels being touched by a finger. Not just a CGPoint like UITouch returns.

    I've looked and all I can find is that you can get the CGPoint of the center of the surface area touched by the finger. Did I miss something.
     
  2. Avizzv92 macrumors regular

    Joined:
    Mar 23, 2008
    #2
    Do you mean like when you press your finger against the screen you want the entire surface area of the finger? Touches don't work in that fashion, you simply get a single point of the touch. If you want to change the colors beyond that single point you would need to manually expand the diameter of the area being touched to give the correct effect.
     
  3. JGoose thread starter macrumors member

    Joined:
    Feb 12, 2010
    #3
    So there is absolutely no way to do this? Just expanding the area will not work for my idea to work. It has to be the actual surface area of the finger.
     
  4. Avizzv92 macrumors regular

    Joined:
    Mar 23, 2008
  5. JGoose thread starter macrumors member

    Joined:
    Feb 12, 2010

Share This Page