|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.jna.Structure net.sourceforge.tess4j.EANYCODE_CHAR
public class EANYCODE_CHAR
It should be noted that the format for char_code for version 2.0 and beyond is UTF-8,
which means that ASCII characters will come out as one structure but other characters
will be returned in two or more instances of this structure with a single byte of the
UTF-8 code in each, but each will have the same bounding box.
Programs which want to handle languages with different characters sets will need to
handle extended characters appropriately, but all code needs to be prepared to
receive UTF-8 coded characters for characters such as bullet and fancy quotes.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.sun.jna.Structure |
---|
com.sun.jna.Structure.ByReference, com.sun.jna.Structure.ByValue |
Field Summary | |
---|---|
byte |
blanks
number of spaces before this char (1) |
short |
bottom
bottom of char (-1) |
byte |
char_code
character itself, one single UTF-8 byte long. |
byte |
confidence
classification confidence: 0=perfect, 100=reject (0/100) |
short |
font_index
what font (0) |
byte |
formatting
char formatting (0) |
short |
left
left of char (-1) |
byte |
point_size
point size of char, 72 = 1 inch, (10) |
short |
right
right of char (-1) |
short |
top
top of char (-1) |
Fields inherited from class com.sun.jna.Structure |
---|
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE |
Constructor Summary | |
---|---|
EANYCODE_CHAR()
|
Method Summary |
---|
Methods inherited from class com.sun.jna.Structure |
---|
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, clear, ensureAllocated, equals, getAutoRead, getAutoWrite, getFieldOrder, getFields, getNativeAlignment, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public byte char_code
public short left
public short right
public short top
public short bottom
public short font_index
public byte confidence
public byte point_size
public byte blanks
public byte formatting
Constructor Detail |
---|
public EANYCODE_CHAR()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |