android - What does Path.transform(Matrix) do to a line? -
What is the calculation when I execute the following code? The source code of both classes refers to the basic methods, unfortunately.
path path = new path (); Path.moveTo (20,20); Path.lineTo (40,20); Matrix matrix = new matrix (); Matrix.setScale (2,250,50); Path.transform (matrix);
Take some lessons with what I have to do. For example,
ago:
after:
me Which calculation would be required to leave alliance with the line? Note that I do not want to change the size of the text, only move it.
Use the same matrix while drawing this text. There is a set matrix method in the canvas.
Comments
Post a Comment