We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Polygon
Add parameter to configure the sides of Polygon mask like Star.
Star
Currently, it generate random sides every time.
public func maskPolygon() { let polygonPath = maskPolygonBezierPath(Int(arc4random_uniform(10) + 3)) drawPath(polygonPath) }
Should take have sides parameter like public func maskPolygon(sides: Int = 6)
public func maskPolygon(sides: Int = 6)
The text was updated successfully, but these errors were encountered:
Agree 👍
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Add parameter to configure the sides of
Polygon
mask likeStar
.Currently, it generate random sides every time.
Should take have sides parameter like
public func maskPolygon(sides: Int = 6)
The text was updated successfully, but these errors were encountered: