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