-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathobject.java
More file actions
33 lines (26 loc) · 729 Bytes
/
Copy pathobject.java
File metadata and controls
33 lines (26 loc) · 729 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import java.awt.*;
public class object {
public void draw(graphics g){
}
public void formTraingle_Paint(object sender, Arg0){
Point [] point = new Point [3];
point[0].X = 150;
point[0].Y = 150;
point[1].Y = 150;
point[1].Y = 200;
point[2].Y = 50;
point[2].Y = 120;
graphics g.draw(pen_draw, point);
}
public void formPlatform_Paint(){//need to pass something in but do not know what
Point [] point = new Point [4];
point[0].X = 150;
point[0].Y = 150;
point[1].Y = 150;
point[1].Y = 200;
point[2].Y = 50;
point[2].Y = 120;
point[3].X = 250;
point[3].Y = 250;
}
}