This commit is contained in:
Hannes Janetzek 2013-02-15 16:15:55 +01:00
parent 8db24eaacf
commit 811ff6ed4a

View File

@ -172,13 +172,25 @@ public class TextItem {
&& (it2.y2 < it1.y1 + add); && (it2.y2 < it1.y1 + add);
} }
// link to next node
public TextItem next; public TextItem next;
// center
public float x, y; public float x, y;
// label text
public String string; public String string;
// text style
public Text text; public Text text;
// label width
public float width; public float width;
// left and right corner of segment
public float x1, y1, x2, y2; public float x1, y1, x2, y2;
// segment length
public short length; public short length;
// link to next/prev label of the way // link to next/prev label of the way