Reputation: 1809
How I can make a Region
object around a curve?
I make quadratic Bezier curves with Path
objects and, then, I draw them into a Canvas
with the drawPath()
function. I need to make 'nearby' Region
objects around the curves.
Can you help? Thanks!
Upvotes: 3
Views: 397
Reputation: 51933
i am not android user but:
to get shifted control points just translate them in perpendicular direction from the curve the shift size is half of the region width.
Upvotes: 1