Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
alphaGradientLayer.playground
README.ja.md
README.md

README.md

Correspondence when the transmission gradation of CAGradientLayer becomes muddy.

日本語

  • It contains the playground for validation in Swift.

Transparent gradient is applied to the playground's CAGradientLayer in two ways.

Result

When creating transparency gradients using CAGradientLayer, color gradients are used before and after transparency, and defining with withAlphaComponent will result in beautiful gradations.

Blog

Blog link

You can’t perform that action at this time.