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

Add polygon & rectangle drawer #6

Closed
easytarget2000 opened this issue Aug 15, 2019 · 0 comments · Fixed by #11
Closed

Add polygon & rectangle drawer #6

easytarget2000 opened this issue Aug 15, 2019 · 0 comments · Fixed by #11
Assignees
Labels
enhancement New feature or request

Comments

@easytarget2000
Copy link
Owner

easytarget2000 commented Aug 15, 2019

Implement the ability to draw polygons with 3 to 8 edges. The position of the polygons should be given from the centre of the shape. The position the shape should be given on a pixel scale and a grid scale.
Example: A typical grid size is 8. In this case, a 1000x1000px image will be divided into a grid of 8x8. One unit of this grid will be 125x125px large. The polygon drawer can then be told to draw a polygon that is 4 grid units wide at the grid position 3,4. This polygon will be 500px in diameter and centred around the point 375, 500.

TBD: The relationship between diameter and the actual polygon side lengths.

Goals:
http://ginva.com/2016/10/material-design-wallpapers/
https://s1.funon.cc/img/thumb/201809/12/5b999b9fc44d0.jpg
https://s1.funon.cc/img/thumb/201809/12/5b999b9fc44d0.jpg

@easytarget2000 easytarget2000 created this issue from a note in Matthew Main Android Project (To do) Aug 15, 2019
@easytarget2000 easytarget2000 self-assigned this Aug 15, 2019
@easytarget2000 easytarget2000 added the enhancement New feature or request label Aug 15, 2019
@easytarget2000 easytarget2000 moved this from To do to In progress in Matthew Main Android Project Aug 15, 2019
@easytarget2000 easytarget2000 changed the title Add polygon drawer Add polygon & rectangle drawer Aug 17, 2019
Matthew Main Android Project automation moved this from In progress to Done Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging a pull request may close this issue.

1 participant