Home > Mobile >  Android how to realize the function of the brush for wavy lines
Android how to realize the function of the brush for wavy lines

Time:09-25

如何实现画板中画波浪线的功能

CodePudding user response:

Can be used more than is spin function to have enough precision of control points, and connection, but to be honest, what's the use of this?

CodePudding user response:

All kinds of curve function,,,,,,,

CodePudding user response:

reference 1st floor lyfuci response:
can use are more spin function to have enough precision of control points, and connection, but to be honest, what's the use of this?

Little use  a requirement of the company

CodePudding user response:

The
reference walking under the stars on the second floor response:
various curve function,,,,,,,

I was drunk will not be used

CodePudding user response:

The points on the calculated curve coordinate first, and then as a Path object point,
After
With canvas. DrawPath (path, paint);

CodePudding user response:

Through the Path in the class of the humble bezier function words, of course bivalent Bessel, suggest to learn android custom view
CSDN, a prominent blogger: set a custom view
https://blog.csdn.net/harvic880925/article/details/50995268
Of course book already
  • Related