| Modifier and Type | Method and Description |
|---|---|
static Triangle |
canvas.drawTriangle(double x1,
double y1,
double x2,
double y2,
double x3,
double y3)
Draws a triangle connecting the given points in the default color.
|
static Triangle |
canvas.drawTriangle(double x1,
double y1,
double x2,
double y2,
double x3,
double y3,
java.lang.String color)
Draws a triangle connecting the given points in the given color.
|