I want to draw 3 triangles like this I am trying but not getting what i want. any one can help
Here is my code in java. I dont know hot to handle the coordinates. and did not find related help form internet,
Basically i need the coordinates which i have to put. Thanks.
private Polygon triangle;
public TrianglePanel(){
triangle = new Polygon();
triangle.addPoint(400, 500);
triangle.addPoint(500, 500);
triangle.addPoint(450, 400);
}