Search the Community
Showing results for tags 'fill path'.
Hi, I created a Graphics object and draw in it behind the coordinates of the mouse. I use moveTo (), lineTo () and strokePath (). I would like to fill the object inside the line and use fillPath (), however the shapes can be drawn with different patches. Are there any ideas how I can fill in shapes drawn from different patches? In the image, an example - line numbers is the order in which they are drawn. Thanks for any ideas!
i need help with a game i'm creating. I have used bezier interpolation to create a curved path, it gives a curved path with random coordinates in a particular range. However the issue that i'm facing is that i am able to get the outline of the path however i need to fill the area under the curve so that it look like a solid platform. i really need help with this.