Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom gradient startPoint #378

Closed
tbaranes opened this issue Dec 21, 2016 · 2 comments
Closed

Custom gradient startPoint #378

tbaranes opened this issue Dec 21, 2016 · 2 comments

Comments

@tbaranes
Copy link
Member

Probably something like: .custom(CGPoint, CGPoint), or .custom(startX, startY, endX, endY)

@JakeLin
Copy link
Member

JakeLin commented Dec 22, 2016

@tbaranes do you mean rotate the startPoint or it can be the center, inside or outside of the view?

@tbaranes
Copy link
Member Author

Just a way to customise where the gradient will start in the view. We can currently start from one of the border, but we have no way to start from X (even if, it's not the center, a border...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants