eVision Python API
Loading...
Searching...
No Matches
eVision.EOCR2CharacterCluster Class Reference

Holds all information related to character cluster. More...

Public Member Functions

None __init__ (self)
 Constructs an eVision.EOCR2CharacterCluster context.
None __init__ (self, eVision.EOCR2CharacterCluster other)
 Constructs an eVision.EOCR2CharacterCluster context.
eVision.EOCR2DatabaseCharacter GetCharacter (self, int index)
 Returns a single character from the cluster.
None AddCharacter (self, eVision.EOCR2DatabaseCharacter character)
 Adds a character to the cluster.
None RemoveCharacter (self, int index)
 Removes a character from the cluster.
None Clear (self)
 Clears the cluster.
int Code (self)
 The ASCII code of the cluster.
 Code (self, int value)
 The ASCII code of the cluster.
int CharacterCount (self)
 Returns the number of characters in this cluster.
list[eVision._eVision.EOCR2DatabaseCharacter] Characters (self)
 Returns all characters from this cluster.

Detailed Description

Holds all information related to character cluster.

Remarks:

License(s): None

Constructor & Destructor Documentation

◆ __init__() [1/2]

None eVision.EOCR2CharacterCluster.__init__ ( self)

Constructs an eVision.EOCR2CharacterCluster context.

◆ __init__() [2/2]

None eVision.EOCR2CharacterCluster.__init__ ( self,
eVision.EOCR2CharacterCluster other )

Constructs an eVision.EOCR2CharacterCluster context.

Parameters
othereVision.EOCR2CharacterCluster object to be copied.

Member Function Documentation

◆ AddCharacter()

None eVision.EOCR2CharacterCluster.AddCharacter ( self,
eVision.EOCR2DatabaseCharacter character )

Adds a character to the cluster.

Parameters
characterThe eVision.EOCR2DatabaseCharacter to be added to the database.

◆ CharacterCount()

int eVision.EOCR2CharacterCluster.CharacterCount ( self)

Returns the number of characters in this cluster.

◆ Characters()

list[eVision._eVision.EOCR2DatabaseCharacter] eVision.EOCR2CharacterCluster.Characters ( self)

Returns all characters from this cluster.

◆ Clear()

None eVision.EOCR2CharacterCluster.Clear ( self)

Clears the cluster.

◆ Code() [1/2]

int eVision.EOCR2CharacterCluster.Code ( self)

The ASCII code of the cluster.

◆ Code() [2/2]

eVision.EOCR2CharacterCluster.Code ( self,
int value )

The ASCII code of the cluster.

◆ GetCharacter()

eVision.EOCR2DatabaseCharacter eVision.EOCR2CharacterCluster.GetCharacter ( self,
int index )

Returns a single character from the cluster.

Parameters
indexThe index of this character.

◆ RemoveCharacter()

None eVision.EOCR2CharacterCluster.RemoveCharacter ( self,
int index )

Removes a character from the cluster.

Parameters
indexThe index of the character to be removed.