earlygrey
earlygrey
It's not, but this is something I've considered adding, though I'm not sure exactly how it would work. The simplest version would be something where you draw whatever you want,...
Do you have a reproducible example I can copy paste?
What exactly do you need? For example you need to be able to draw a path (with joining) and extract the vertices as a float[] or something?
I've added a method to the Drawing class that allows you to extract the XY coordinates of the drawing. https://github.com/earlygrey/shapedrawer/compare/master...extract-vertices You'd use it via something like ```java drawer.startRecording(); drawer.getBrush().polygon().vertices(vertices).draw(); Drawing...
Sorry there was a typo in my code, it's fixed and should work now, I gave it a quick test.
So in this implementation I'm not sure the coordinates are that useful for what you want, because they're actually in the "sprite batch" arrangement - which means in groups of...
Fair enough, what fields / methods did you have in mind and what functionality do you extend / override? Most of the classes are package-private anyway so there are only...