public class Polygon4 extends Object
Constructor and Description |
---|
Polygon4(int x1,
int y1,
int x2,
int y2,
int x3,
int y3,
int x4,
int y4) |
Modifier and Type | Method and Description |
---|---|
Polygon4 |
getSquare() |
int |
getX1() |
int |
getX2() |
int |
getX3() |
int |
getX4() |
int |
getY1() |
int |
getY2() |
int |
getY3() |
int |
getY4() |
void |
setX1(int x1) |
void |
setX2(int x2) |
void |
setX3(int x3) |
void |
setX4(int x4) |
void |
setY1(int y1) |
void |
setY2(int y2) |
void |
setY3(int y3) |
void |
setY4(int y4) |
public Polygon4(int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4)
public int getX1()
public void setX1(int x1)
public int getY1()
public void setY1(int y1)
public int getX2()
public void setX2(int x2)
public int getY2()
public void setY2(int y2)
public int getX3()
public void setX3(int x3)
public int getY3()
public void setY3(int y3)
public int getX4()
public void setX4(int x4)
public int getY4()
public void setY4(int y4)
public Polygon4 getSquare()
Copyright © 2012-2018. All Rights Reserved.