This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void drawTriangle(Point p1, Point p2, Point p3, int clr, Canvas c) | |
{ | |
Paint paint = new Paint(Paint.ANTI_ALIAS_FLAG); | |
paint.setStrokeWidth(1); | |
paint.setColor(clr); | |
paint.setStyle(Paint.Style.FILL_AND_STROKE); | |
paint.setAntiAlias(true); | |
Path path = new Path(); |