core graphics - Rendering a gradient in a UIBezierPath -


how 1 render gradient inside uibezierpath , possible store state bezierpath faster re-rendering in drawrect?

i render bezierpaths inside drawrect cannot add gradient.

when call method cgcontextdrawlineargradient (ctx, gradient, gradientstartpoint, gradientendpoint, 0); dont have endpoint.

i tried using bezierpath.currentpoint dont expected results.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -