-
Notifications
You must be signed in to change notification settings - Fork 79
PAINTROID-764 Add more shapes to Shapes Tool #103
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
base: develop
Are you sure you want to change the base?
Conversation
|
||
Path _getHeartPath(double angle) { | ||
Path path = Path(); | ||
final double w = width / 2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need for explicit type double
} | ||
|
||
Path _getHeartPath(double angle) { | ||
Path path = Path(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need for explicit type Path
|
||
path.close(); | ||
|
||
final Matrix4 rotationMatrix = Matrix4.identity() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need for explicit type Matrix4
} | ||
|
||
Path getHeartPath() { | ||
Path path = Path(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
explcit vs inference
PAINTROID-764
This PR adds two more shapes to shapes tool
New Features and Enhancements
Checklist
Your checklist for this pull request
Please review the contributing guidelines and wiki pages of this repository.