Represents a Code. More...
Public Member Functions | |
| None | __init__ (self) |
| Creates an eVision.ECode object. | |
| None | __init__ (self, eVision.ECode other) |
| Creates an eVision.ECode object. | |
| eVision.ERegion | ToRegion (self) |
| Creates an eVision.ERegion from the eVision.ECode. | |
| eVision.EFrame | ToFrame (self, bool useAngle, eVision.EFrameScaling frameScaling) |
| Creates an eVision.EFrame from the eVision.ECode. | |
| eVision.EFrame | ToFrame (self, bool useAngle, eVision.EFrameScaling frameScaling, eVision.EFrame frame) |
| Creates an eVision.EFrame from the eVision.ECode. | |
| None | DrawPosition (self, eVision.EDrawAdapter|None graphicsContext, float zoomX, float zoomY, float panX, float panY) |
| Draws the Position of the Code. | |
| None | DrawPosition (self, eVision.EDrawAdapter|None graphicsContext, float zoomX, float zoomY, float panX) |
| Draws the Position of the Code. | |
| None | DrawPosition (self, eVision.EDrawAdapter|None graphicsContext, float zoomX, float zoomY) |
| Draws the Position of the Code. | |
| None | DrawPosition (self, eVision.EDrawAdapter|None graphicsContext, float zoomX) |
| Draws the Position of the Code. | |
| None | DrawPosition (self, eVision.EDrawAdapter|None graphicsContext) |
| Draws the Position of the Code. | |
| None | DrawPosition (self, eVision.EDrawAdapter|None graphicsContext, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY) |
| Draws the Position of the Code. | |
| None | DrawPosition (self, eVision.EDrawAdapter|None graphicsContext, eVision.EFrame frame, float zoomX, float zoomY, float panX) |
| Draws the Position of the Code. | |
| None | DrawPosition (self, eVision.EDrawAdapter|None graphicsContext, eVision.EFrame frame, float zoomX, float zoomY) |
| Draws the Position of the Code. | |
| None | DrawPosition (self, eVision.EDrawAdapter|None graphicsContext, eVision.EFrame frame, float zoomX) |
| Draws the Position of the Code. | |
| None | DrawPosition (self, eVision.EDrawAdapter|None graphicsContext, eVision.EFrame frame) |
| Draws the Position of the Code. | |
Properties | |
| DecodedString = property(_DecodedString__getter, None) | |
| Decoded code string. | |
| IsGS1 = property(_IsGS1__getter, None) | |
| Returns whether the decoded string uses the GS1 standard. | |
| Position = property(_Position__getter, None) | |
| Code position. | |
| Center = property(_Center__getter, None) | |
| Returns the center of the eVision.ECode. | |
| SizeX = property(_SizeX__getter, None) | |
| Returns the size of the eVision.ECode on its X axis. | |
| SizeY = property(_SizeY__getter, None) | |
| Returns the size of the eVision.ECode on its Y axis. | |
| Angle = property(_Angle__getter, None) | |
| Returns the angle of the eVision.ECode as if it was an eVision.ERectangle. | |
| CodeType = property(_CodeType__getter, None) | |
| Code type. | |
| MatrixCode = property(_MatrixCode__getter, None) | |
| Returns the eVision.EasyMatrixCode2.EMatrixCode contained in the eVision.ECode. | |
| BarCode = property(_BarCode__getter, None) | |
| Returns the eVision.EasyBarCode2.EBarCode contained in the eVision.ECode. | |
| QRCode = property(_QRCode__getter, None) | |
| Returns the eVision.EQRCode contained in the eVision.ECode. | |
Represents a Code.
Remarks:
License(s): EasyMatrixCode and EasyBarCode and EasyQRCode
| None eVision.ECode.__init__ | ( | self | ) |
Creates an eVision.ECode object.
| None eVision.ECode.__init__ | ( | self, | |
| eVision.ECode | other ) |
Creates an eVision.ECode object.
| other | Another eVision.ECode object to be copied in the new eVision.ECode object. |
| None eVision.ECode.DrawPosition | ( | self, | |
| eVision.EDrawAdapter | None | graphicsContext ) |
Draws the Position of the Code.
| graphicsContext | Handle of the graphics context on which to draw. |
| None eVision.ECode.DrawPosition | ( | self, | |
| eVision.EDrawAdapter | None | graphicsContext, | ||
| eVision.EFrame | frame ) |
Draws the Position of the Code.
| graphicsContext | Handle of the graphics context on which to draw. |
| frame | Frame associated with the bar code. |
| None eVision.ECode.DrawPosition | ( | self, | |
| eVision.EDrawAdapter | None | graphicsContext, | ||
| eVision.EFrame | frame, | ||
| float | zoomX ) |
Draws the Position of the Code.
| graphicsContext | Handle of the graphics context on which to draw. |
| frame | Frame associated with the bar code. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| None eVision.ECode.DrawPosition | ( | self, | |
| eVision.EDrawAdapter | None | graphicsContext, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the Position of the Code.
| graphicsContext | Handle of the graphics context on which to draw. |
| frame | Frame associated with the bar code. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| None eVision.ECode.DrawPosition | ( | self, | |
| eVision.EDrawAdapter | None | graphicsContext, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the Position of the Code.
| graphicsContext | Handle of the graphics context on which to draw. |
| frame | Frame associated with the bar code. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| None eVision.ECode.DrawPosition | ( | self, | |
| eVision.EDrawAdapter | None | graphicsContext, | ||
| eVision.EFrame | frame, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the Position of the Code.
| graphicsContext | Handle of the graphics context on which to draw. |
| frame | Frame associated with the bar code. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| None eVision.ECode.DrawPosition | ( | self, | |
| eVision.EDrawAdapter | None | graphicsContext, | ||
| float | zoomX ) |
Draws the Position of the Code.
| graphicsContext | Handle of the graphics context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| None eVision.ECode.DrawPosition | ( | self, | |
| eVision.EDrawAdapter | None | graphicsContext, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the Position of the Code.
| graphicsContext | Handle of the graphics context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| None eVision.ECode.DrawPosition | ( | self, | |
| eVision.EDrawAdapter | None | graphicsContext, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the Position of the Code.
| graphicsContext | Handle of the graphics context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| None eVision.ECode.DrawPosition | ( | self, | |
| eVision.EDrawAdapter | None | graphicsContext, | ||
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the Position of the Code.
| graphicsContext | Handle of the graphics context on which to draw. |
| zoomX | Horizontal zooming factor. By default, true scale is used. |
| zoomY | Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming. |
| panX | Horizontal panning value expressed in pixels. By default, no panning occurs. |
| panY | Vertical panning value expressed in pixels. By default, no panning occurs. |
| eVision.EFrame eVision.ECode.ToFrame | ( | self, | |
| bool | useAngle, | ||
| eVision.EFrameScaling | frameScaling ) |
Creates an eVision.EFrame from the eVision.ECode.
| useAngle | Whether to use the angle of the eVision.ECode in the frame. |
| frameScaling | How to handle the scale of the frame. eVision.EFrameScaling.UseScaling is not supported. |
| eVision.EFrame eVision.ECode.ToFrame | ( | self, | |
| bool | useAngle, | ||
| eVision.EFrameScaling | frameScaling, | ||
| eVision.EFrame | frame ) |
Creates an eVision.EFrame from the eVision.ECode.
| useAngle | Whether to use the angle of the eVision.ECode in the frame. |
| frameScaling | How to handle the scale of the frame. eVision.EFrameScaling.UseScaling is not supported. |
| frame | Parent frame. Used when the eVision.ECode was read using a frame. |
| eVision.ERegion eVision.ECode.ToRegion | ( | self | ) |
Creates an eVision.ERegion from the eVision.ECode.
|
static |
Returns the angle of the eVision.ECode as if it was an eVision.ERectangle.
|
static |
Returns the eVision.EasyBarCode2.EBarCode contained in the eVision.ECode.
Throws an exception if there is none.
|
static |
Returns the center of the eVision.ECode.
|
static |
Code type.
|
static |
Decoded code string.
|
static |
Returns whether the decoded string uses the GS1 standard.
|
static |
Returns the eVision.EasyMatrixCode2.EMatrixCode contained in the eVision.ECode.
Throws an exception if there is none.
|
static |
Code position.
If the eVision.ECode represents an eVision.EQRCode object, the eVision.EQuadrangle's corners are in the following order: top right, top left, bottom left, bottom right. If the eVision.ECode represents an eVision.EasyBarCode2.EBarCode or eVision.EasyMatrixCode2.EMatrixCode object, the eVision.EQuadrangle's corners are in the following order: top left, top right, bottom right, bottom left.
|
static |
Returns the eVision.EQRCode contained in the eVision.ECode.
Throws an exception if there is none.
|
static |
Returns the size of the eVision.ECode on its X axis.
This corresponds to the mean between the sizes of the top and bottom sides of the eVision.ECode.
|
static |
Returns the size of the eVision.ECode on its Y axis.
This corresponds to the mean between the sizes of the left and right sides of the eVision.ECode.