Class Pixy2Line.Barcode
- java.lang.Object
-
- io.github.pseudoresonance.pixy2api.Pixy2Line.Barcode
-
- Enclosing class:
- Pixy2Line
public static class Pixy2Line.Barcode extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Barcode(int x, int y, int flags, int code)
Constructs barcode object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
int
getFlags()
int
getX()
int
getY()
void
print()
Prints barcode data to consolejava.lang.String
toString()
Returns a string of barcode data
-
-
-
Method Detail
-
print
public void print()
Prints barcode data to console
-
toString
public java.lang.String toString()
Returns a string of barcode data- Overrides:
toString
in classjava.lang.Object
- Returns:
- String of barcode data
-
getX
public int getX()
- Returns:
- X value
-
getY
public int getY()
- Returns:
- Y value
-
getFlags
public int getFlags()
- Returns:
- Barcode flags
-
getCode
public int getCode()
- Returns:
- Code
-
-