Fill color on specific portion of image?

前端 未结 4 1509
北海茫月
北海茫月 2021-01-30 18:32

I want to fill specific color on specific area of an image.

EX:

\"enter

4条回答
  •  甜味超标
    2021-01-30 18:58

    If You create your image as SVG vector base image, it will be very light (less than png, jpg) and really easy to manage via Quartz 2D using bezier paths. Bezier paths can be filled (white at starting). UIBezierPath have a method (containsPoint:) that help define if you click inside.

提交回复
热议问题