Public Member Functions | Protected Member Functions | Private Attributes
org.ros.android.view.visualization.shape.TextShape Class Reference
Inheritance diagram for org.ros.android.view.visualization.shape.TextShape:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void setOffset (float x, float y)
 TextShape (GLText glText, String text)

Protected Member Functions

void drawShape (VisualizationView view, GL10 gl)
void scale (VisualizationView view, GL10 gl)

Private Attributes

final GLText glText
FloatBuffer lines
final String text
float x
float y

Detailed Description

Definition at line 12 of file TextShape.java.


Constructor & Destructor Documentation

Definition at line 21 of file TextShape.java.


Member Function Documentation

void org.ros.android.view.visualization.shape.TextShape.drawShape ( VisualizationView  view,
GL10  gl 
) [inline, protected, virtual]

To be implemented by children. Draws the shape after the shape's transform and scaling have been applied.

Implements org.ros.android.view.visualization.shape.BaseShape.

Definition at line 57 of file TextShape.java.

void org.ros.android.view.visualization.shape.TextShape.scale ( VisualizationView  view,
GL10  gl 
) [inline, protected]

Scales the coordinate system.

This is called after transforming the surface according to transform.

Reimplemented from org.ros.android.view.visualization.shape.BaseShape.

Definition at line 50 of file TextShape.java.

void org.ros.android.view.visualization.shape.TextShape.setOffset ( float  x,
float  y 
) [inline]

Definition at line 27 of file TextShape.java.


Member Data Documentation

Definition at line 14 of file TextShape.java.

Definition at line 19 of file TextShape.java.

Definition at line 15 of file TextShape.java.

Definition at line 17 of file TextShape.java.

Definition at line 18 of file TextShape.java.


The documentation for this class was generated from the following file:


android_core
Author(s): Damon Kohler
autogenerated on Thu Jun 6 2019 21:20:07