diff options
Diffstat (limited to 'platform/android/src/com/artifex/mupdfdemo/TextWord.java')
-rw-r--r-- | platform/android/src/com/artifex/mupdfdemo/TextWord.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/platform/android/src/com/artifex/mupdfdemo/TextWord.java b/platform/android/src/com/artifex/mupdfdemo/TextWord.java new file mode 100644 index 00000000..d9672573 --- /dev/null +++ b/platform/android/src/com/artifex/mupdfdemo/TextWord.java @@ -0,0 +1,17 @@ +package com.artifex.mupdfdemo; + +import android.graphics.RectF; + +public class TextWord extends RectF { + public String w; + + public TextWord() { + super(); + w = new String(); + } + + public void Add(TextChar tc) { + super.union(tc); + w = w.concat(new String(new char[]{tc.c})); + } +} |