eVision .NET API
Loading...
Searching...
No Matches
eVision.EasyDeepOCR.ETextDrawingParameters Class Reference

Represents the drawing parameters needed by ETextLine.Draw and EText.Draw. More...

Inheritance diagram for eVision.EasyDeepOCR.ETextDrawingParameters:
Collaboration diagram for eVision.EasyDeepOCR.ETextDrawingParameters:

Public Member Functions

 ETextDrawingParameters ()
 Constructs a ETextDrawingParameters.
 ETextDrawingParameters (eVision.EasyDeepOCR.ETextDrawingParameters other)
 Constructs a ETextDrawingParameters.
void Load (string path)
 Loads the ETextDrawingParameters.
void Load (eVision.ESerializer serializer)
 Loads the ETextDrawingParameters.
void Save (string path)
 Saves the ETextDrawingParameters.
void Save (eVision.ESerializer serializer)
 Saves the ETextDrawingParameters.

Properties

bool DrawTextBox [get, set]
 Specifies whether the position, i.e the box enclosing all the lines, should be drawn.
bool DrawTextLineBoxes [get, set]
 Specifies whether the lineboxes should be drawn.
bool DrawStrings [get, set]
 Specifies whether the strings should be drawn.
bool DrawDirections [get, set]
 Specifies whether arrows that indicate the reading direction should be drawn.
float ArrowLength [get, set]
 Specifies the length of the arrows when drawing the directions.

Detailed Description

Represents the drawing parameters needed by ETextLine.Draw and EText.Draw.

License(s): EasyDeepOCR

Constructor & Destructor Documentation

◆ ETextDrawingParameters() [1/2]

eVision.EasyDeepOCR.ETextDrawingParameters.ETextDrawingParameters ( )

Constructs a ETextDrawingParameters.

◆ ETextDrawingParameters() [2/2]

eVision.EasyDeepOCR.ETextDrawingParameters.ETextDrawingParameters ( eVision.EasyDeepOCR.ETextDrawingParameters other)

Constructs a ETextDrawingParameters.

Parameters
otherETextDrawingParameters to be copied.

Member Function Documentation

◆ Load() [1/2]

void eVision.EasyDeepOCR.ETextDrawingParameters.Load ( eVision.ESerializer serializer)

Loads the ETextDrawingParameters.

Parameters
serializer

◆ Load() [2/2]

void eVision.EasyDeepOCR.ETextDrawingParameters.Load ( string path)

Loads the ETextDrawingParameters.

Parameters
pathPath where to save the ETextDrawingParameters.

◆ Save() [1/2]

void eVision.EasyDeepOCR.ETextDrawingParameters.Save ( eVision.ESerializer serializer)

Saves the ETextDrawingParameters.

Parameters
serializer

◆ Save() [2/2]

void eVision.EasyDeepOCR.ETextDrawingParameters.Save ( string path)

Saves the ETextDrawingParameters.

Parameters
pathPath where to save the ETextDrawingParameters.

Property Documentation

◆ ArrowLength

float eVision.EasyDeepOCR.ETextDrawingParameters.ArrowLength
getset

Specifies the length of the arrows when drawing the directions.

When this parameter is null or negative, the height of the line boxes is used instead as the line arrow length.

◆ DrawDirections

bool eVision.EasyDeepOCR.ETextDrawingParameters.DrawDirections
getset

Specifies whether arrows that indicate the reading direction should be drawn.

◆ DrawStrings

bool eVision.EasyDeepOCR.ETextDrawingParameters.DrawStrings
getset

Specifies whether the strings should be drawn.

◆ DrawTextBox

bool eVision.EasyDeepOCR.ETextDrawingParameters.DrawTextBox
getset

Specifies whether the position, i.e the box enclosing all the lines, should be drawn.

◆ DrawTextLineBoxes

bool eVision.EasyDeepOCR.ETextDrawingParameters.DrawTextLineBoxes
getset

Specifies whether the lineboxes should be drawn.