TextObject.java
Go to the documentation of this file.
1 //package ri.blog.opengl008;
2 package com.introlab.rtabmap;
3 
4 public class TextObject {
5 
6  public String text;
7  public float x;
8  public float y;
9  public float[] color;
10 
11  public TextObject()
12  {
13  text = "default";
14  x = 0f;
15  y = 0f;
16  color = new float[] {1f, 1f, 1f, 1.0f};
17  }
18 
19  public TextObject(String txt, float xcoord, float ycoord)
20  {
21  text = txt;
22  x = xcoord;
23  y = ycoord;
24  color = new float[] {1f, 1f, 1f, 1.0f};
25  }
26 
27  /*public boolean validate()
28  {
29  if(text.compareTo("")==0) return false;
30 
31  return true;
32  }*/
33 }
f
TextObject(String txt, float xcoord, float ycoord)
Definition: TextObject.java:19


rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:43:40