Skip to content
This repository was archived by the owner on Jun 13, 2021. It is now read-only.

Added UIGradientStyleDiagonal to UIColor+Chameleon.h/m#186

Open
jarrydrichards wants to merge 1 commit intovicc:masterfrom
jarrydrichards:diagonal-gradient
Open

Added UIGradientStyleDiagonal to UIColor+Chameleon.h/m#186
jarrydrichards wants to merge 1 commit intovicc:masterfrom
jarrydrichards:diagonal-gradient

Conversation

@jarrydrichards
Copy link

Added a diagonal gradient to UIColor+Chameleon that starts in the bottom-left corner and ends in the top-right corner.

@bre7
Copy link
Collaborator

bre7 commented Jun 26, 2017

Not sure if "diagonal" is specific enough. There are 4 directions for it.

Solutions:

  • diagonalFromTopLeft ? And subsequent permutations.
  • diagonalToTopLeft ? And subsequent permutations.

I'd prefer diagonalFrom...

Dupe #177 ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants