| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public | Point2i(int
the x coordinate x, int the y coordinate y)Constructs and initializes a Point2i from the specified x and y coordinates. |
| public | Point2i(int[]
the array of length 2 containing x and y in order. t)Constructs and initializes a Point2i from the array of length 2. |
| public | |
| public |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| Point2i | back to summary |
|---|---|
| public Point2i(int x, int y) Constructs and initializes a Point2i from the specified x and y coordinates.
| |
| Point2i | back to summary |
|---|---|
| public Point2i(int[] t) Constructs and initializes a Point2i from the array of length 2.
| |
| Point2i | back to summary |
|---|---|
| public Point2i(Tuple2i t1) Constructs and initializes a Point2i from the specified Tuple2i.
| |
| Point2i | back to summary |
|---|---|
| public Point2i() Constructs and initializes a Point2i to (0,0). | |