In my Android application, I get data from a server on which some coordinates will be returned. Then I use these coordinates to create lines and draw them in the view.
I want the line to be displayed differently. For example: rendering strings

The line at the top is the original line, and I want it to appear as shapes below.
And there are several lines that intersect with each other. Then the intersection can be performed as follows:

The way to display the intersection on the left is what I want.
So, I am wondering if the Android graphics api supports these operations?
source share