BowlerKernel
ItemMarker.java
Go to the documentation of this file.
1 package com.neuronrobotics.sdk.bowlercam.device;
2 
3 // TODO: Auto-generated Javadoc
7 public class ItemMarker {
8 
10  private int x;
11 
13  private int y;
14 
16  private int radius;
17 
25  public ItemMarker(int x, int y,int radius){
26  setX(x);
27  setY(y);
29  }
30 
36  public void setX(int x) {
37  this.x = x;
38  }
39 
45  public int getX() {
46  return x;
47  }
48 
54  public void setY(int y) {
55  this.y = y;
56  }
57 
63  public int getY() {
64  return y;
65  }
66 
72  public void setRadius(int radius) {
73  this.radius = radius;
74  }
75 
81  public int getRadius() {
82  return radius;
83  }
84 
85  /* (non-Javadoc)
86  * @see java.lang.Object#toString()
87  */
88  @Override
89  public String toString(){
90  String s="X: "+x+", Y: "+y+", Rad: "+radius;
91  return s;
92  }
93 }