Skip to content

How improve smoothness of DrawingView? #1756

Closed Answered by VladislavAntonyuk
Simoo23 asked this question in Q&A
Discussion options

You must be logged in to vote

Granularity sets the smooth level of the drawing line.
It adds/removes points to the drawing line.
But the original points collection remains without changes.
As for the image, we draw it as a array of points, and it is not the same as drawing on canvas.
Custom Adapter or DrawingLine are used if you need to adapt your custom Line/Point whatever to our Line. It is a standard Adapter pattern.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@bit-r
Comment options

@VladislavAntonyuk
Comment options

@bit-r
Comment options

Answer selected by VladislavAntonyuk
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants