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
MaskType
UIBezierPath
func bezierPath(for rect: CGRect)
MaskDesignable
I think also a lot of code to create UIBezierPath must done in one UIBezierPath extension instead of MaskDesignable or MaskType For instance
extension
extension UIBezierPath { public convenience init(triangleInRect rect: CGRect) { // code from getTriangleBezierPath } }
I have already a lot of UIBezierPath code to create the following path
You can copy paste the list and checked the one you think that could be useful as mask layer
The text was updated successfully, but these errors were encountered:
@phimage Great, will make an educational game with my son using IBAniamtable soon ❤️❤️❤️
Sorry, something went wrong.
Change proposal approved here #517 Implementation of some mask here #518
plus and drop #519
22a8b74
Merge pull request #519 from phimage/feature/masks
5f0620d
Add new mask types .drop, .plusSign and .moon Close #482
phimage
No branches or pull requests
Change proposal for faster new mask type implementation
MaskType
enum could provide anUIBezierPath
using a function like thisfunc bezierPath(for rect: CGRect)
MaskDesignable
we ask the path and call the draw function only one time codeI think also a lot of code to create
UIBezierPath
must done in oneUIBezierPath
extension
instead ofMaskDesignable
orMaskType
For instance
New mask type
I have already a lot of
UIBezierPath
code to create the following pathYou can copy paste the list and checked the one you think that could be useful as mask layer
The text was updated successfully, but these errors were encountered: