I have a list of points and I’m using this to draw...
# compose
t
I have a list of points and I’m using this to draw them like this but the line seems broken to small pieces. How to make them draw like a single line?
Copy code
drawPoints(
   points,
   PointMode.Polygon,
   strokeWidth = strokeWidth,
   color = strokeColor
)
r
You should use a Path, not drawPoints to do what you want
The polygon here is drawn as connected lines which isn't the same as a single contour
Check out drawPath()
t
Thank you!
j
@romainguy What’s the performance of extremely long paths?