Class Pixy2Line.Vector
- java.lang.Object
-
- io.github.pseudoresonance.pixy2api.Pixy2Line.Vector
-
- Enclosing class:
- Pixy2Line
public static class Pixy2Line.Vector extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Vector(int x0, int y0, int x1, int y1, int index, int flags)
Constructs Vector instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFlags()
int
getIndex()
int
getX0()
int
getX1()
int
getY0()
int
getY1()
void
print()
Prints vector data to consolejava.lang.String
toString()
Returns a string of vector data
-
-
-
Method Detail
-
print
public void print()
Prints vector data to console
-
toString
public java.lang.String toString()
Returns a string of vector data- Overrides:
toString
in classjava.lang.Object
- Returns:
- String of vector data
-
getX0
public int getX0()
- Returns:
- X0 value
-
getY0
public int getY0()
- Returns:
- Y0 value
-
getX1
public int getX1()
- Returns:
- X1 value
-
getY1
public int getY1()
- Returns:
- Y1 value
-
getIndex
public int getIndex()
- Returns:
- Vector index
-
getFlags
public int getFlags()
- Returns:
- Vector flags
-
-