Android的 - 如何加入用油漆两点油漆、两点、Android

由网友(酒乃.)分享简介:我要画一个字母AZ,但字母应该在特定的路径绘制的..所以,我试图协调两个点,使两点之间的路径,并使用烤漆连接两个点..但我无法使两点之间的路径。谁能告诉我如何做一个路径,以及如何连接两个点?I want to draw a Alphabets A-Z but the alphabets should drawn i...

我要画一个字母AZ,但字母应该在特定的路径绘制的..所以,我试图协调两个点,使两点之间的路径,并使用烤漆连接两个点.. 但我无法使两点之间的路径。谁能告诉我如何做一个路径,以及如何连接两个点?

I want to draw a Alphabets A-Z but the alphabets should drawn in particular path.. so,i tried to co-ordinate two points and make a path between two points and using paint join two points.. But i could not able to make path between two points. can anyone tell me how to make a path and how to join two points?

推荐答案

在实际的线连接两个点?

as in an actual line to connect two points?

你的画布中:

Paint p = new Paint();
p.setColor(Color.RED);
canvas.drawLine(x1, y1, x2, y2, p);
阅读全文

相关推荐

最新文章