UIBezierPath両端でフェードアウトするa を描画しようとしています- alpha0から1に戻り0ます。私は基本的に、 UIBezierPath 内からグラデーションdrawRectを描画できるようにしたいと考えています。
編集:これが私が達成しようとしている効果です:

UIBezierPath両端でフェードアウトするa を描画しようとしています- alpha0から1に戻り0ます。私は基本的に、 UIBezierPath 内からグラデーションdrawRectを描画できるようにしたいと考えています。
編集:これが私が達成しようとしている効果です:

What about using -strokeWithBlendMode:alpha:?
In combination with some sort of loop that keeps incrementing/decrementing the alpha value until you reach the 1 (and the increment determines the length of the "faded" segment) should work.
See here