LocalizedTextLineElement
The LocalizedTextLineElement class represents a localized text line element. It inherits from the RegionObjectElement class.
Definition
Package: com.dynamsoft.dlr.intermediate_results
Inheritance: RegionObjectElement -> LocalizedTextLineElement
public class LocalizedTextLineElement extends RegionObjectElement
Methods
| Method | Description |
|---|---|
LocalizedTextLineElement |
Initializes a new instance of the LocalizedTextLineElement class. |
getCharacterQuadsCount |
Gets the number of character quads in the text line. |
getCharacterQuad |
Gets the quadrilateral of a specific character in the text line. |
getCharacterQuads |
Gets all character quadrilaterals in the text line. |
getRowNumber |
Gets the row number of the text line. |
setLocation |
Sets the location of the text line element. |
LocalizedTextLineElement
Initializes a new instance of the LocalizedTextLineElement class.
public LocalizedTextLineElement()
getCharacterQuadsCount
Gets the number of character quads in the text line.
public int getCharacterQuadsCount()
Return value
Returns the number of character quads in the text line.
getCharacterQuad
Gets the quadrilateral of a specific character in the text line.
public Quadrilateral getCharacterQuad(int index) throws LabelRecognizerException
Parameters
index The index of the character quad to retrieve.
Return value
Returns the quadrilateral of the specified character.
Exceptions
See Also
getCharacterQuads
Gets all character quadrilaterals in the text line.
public Quadrilateral[] getCharacterQuads()
Return value
Returns an array of quadrilaterals representing all characters in the text line.
See Also
getRowNumber
Gets the row number of the text line.
public int getRowNumber()
Return value
Returns the row number of the text line.
setLocation
Sets the location of the text line element.
public void setLocation(Quadrilateral location) throws LabelRecognizerException
Parameters
location The location to set as a Quadrilateral object.
Exceptions
See Also