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

Base class for geometrical shapes. More...

Inheritance diagram for eVision.EShape:

Public Member Functions

None Load (self, str path)
 Load the eVision.EShape configuration.
None Load (self, eVision.ESerializer|None serializer)
 Load the eVision.EShape configuration.
None Save (self, str path)
 Save the eVision.EShape configuration.
None Save (self, eVision.ESerializer|None serializer)
 Save the eVision.EShape configuration.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX, float panY)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY, bool drawDiagonals)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX)
 Draws the eVision.EShape shape.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame)
 Draws the eVision.EShape shape.
eVision.EEditionMode HitTest (self, int x, int y, float zoomX, float zoomY, float panX, float panY)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (self, int x, int y, float zoomX, float zoomY, float panX)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (self, int x, int y, float zoomX, float zoomY)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (self, int x, int y, float zoomX)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (self, int x, int y, eVision.EFrame frame, float zoomX)
 Detects if the cursor is placed over one of the dragging handles.
None Drag (self, int x, int y, float zoomX, float zoomY, float panX, float panY)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, float zoomX, float zoomY, float panX)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, float zoomX, float zoomY)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, float zoomX)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, eVision.EFrame frame, float zoomX, float zoomY)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, eVision.EFrame frame, float zoomX)
 Moves the specified handle to a new position and updates all placement parameters of the region.
None Drag (self, int x, int y, eVision.EFrame frame)
 Moves the specified handle to a new position and updates all placement parameters of the region.
eVision.EFrame ToFrame (self, bool useAngle, eVision.EFrameScaling frameScaling)
 Converts the shape to a frame.
eVision.EFrame ToFrame (self, bool useAngle, eVision.EFrameScaling frameScaling, eVision.EFrame shapeFrame)
 Converts the shape to a frame.
eVision.EEditionMode EditionMode (self)
 Current edition mode for the shape.
 EditionMode (self, eVision.EEditionMode value)
 Current edition mode for the shape.
eVision.EEditionMode AvailableEditionModes (self)
 Available edition modes for the shape.
str Description (self)
 Textual description of the shape and its parameters.

Detailed Description

Base class for geometrical shapes.

Remarks:

License(s): BasicTypes

Member Function Documentation

◆ AvailableEditionModes()

eVision.EEditionMode eVision.EShape.AvailableEditionModes ( self)

Available edition modes for the shape.

Reimplemented in eVision.ECircle, eVision.EEllipse, eVision.ELine, eVision.EPointSet, eVision.EPolygon, eVision.ERectangle, and eVision.EWedge.

◆ Description()

str eVision.EShape.Description ( self)

Textual description of the shape and its parameters.

Reimplemented in eVision.ECircle, eVision.EEllipse, eVision.ELine, eVision.EPointSet, eVision.EPolygon, eVision.ERectangle, and eVision.EWedge.

◆ Drag() [1/10]

None eVision.EShape.Drag ( self,
int x,
int y )

Moves the specified handle to a new position and updates all placement parameters of the region.

Remarks:

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EShape.HitTest and eVision.EShape.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.

◆ Drag() [2/10]

None eVision.EShape.Drag ( self,
int x,
int y,
eVision.EFrame frame )

Moves the specified handle to a new position and updates all placement parameters of the region.

Remarks:

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EShape.HitTest and eVision.EShape.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame of reference in which the shape is defined.

◆ Drag() [3/10]

None eVision.EShape.Drag ( self,
int x,
int y,
eVision.EFrame frame,
float zoomX )

Moves the specified handle to a new position and updates all placement parameters of the region.

Remarks:

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EShape.HitTest and eVision.EShape.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zoom factor. By default, true scale is used.

◆ Drag() [4/10]

None eVision.EShape.Drag ( self,
int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY )

Moves the specified handle to a new position and updates all placement parameters of the region.

Remarks:

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EShape.HitTest and eVision.EShape.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.

◆ Drag() [5/10]

None eVision.EShape.Drag ( self,
int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX )

Moves the specified handle to a new position and updates all placement parameters of the region.

Remarks:

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EShape.HitTest and eVision.EShape.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.
panXHorizontal pan offset. By default, no pan is added.

◆ Drag() [6/10]

None eVision.EShape.Drag ( self,
int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX,
float panY )

Moves the specified handle to a new position and updates all placement parameters of the region.

Remarks:

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EShape.HitTest and eVision.EShape.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.
panXHorizontal pan offset. By default, no pan is added.
panYVertical pan offset. By default, no pan is added.

◆ Drag() [7/10]

None eVision.EShape.Drag ( self,
int x,
int y,
float zoomX )

Moves the specified handle to a new position and updates all placement parameters of the region.

Remarks:

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EShape.HitTest and eVision.EShape.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
zoomXHorizontal zoom factor. By default, true scale is used.

◆ Drag() [8/10]

None eVision.EShape.Drag ( self,
int x,
int y,
float zoomX,
float zoomY )

Moves the specified handle to a new position and updates all placement parameters of the region.

Remarks:

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EShape.HitTest and eVision.EShape.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.

◆ Drag() [9/10]

None eVision.EShape.Drag ( self,
int x,
int y,
float zoomX,
float zoomY,
float panX )

Moves the specified handle to a new position and updates all placement parameters of the region.

Remarks:

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EShape.HitTest and eVision.EShape.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.
panXHorizontal pan offset. By default, no pan is added.

◆ Drag() [10/10]

None eVision.EShape.Drag ( self,
int x,
int y,
float zoomX,
float zoomY,
float panX,
float panY )

Moves the specified handle to a new position and updates all placement parameters of the region.

Remarks:

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EShape.HitTest and eVision.EShape.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.
panXHorizontal pan offset. By default, no pan is added.
panYVertical pan offset. By default, no pan is added.

◆ Draw() [1/12]

None eVision.EShape.Draw ( self,
eVision.EDrawAdapter | None drawAdapter )

Draws the eVision.EShape shape.

Parameters
drawAdapterHandle of the device context on which to draw.

◆ Draw() [2/12]

None eVision.EShape.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame )

Draws the eVision.EShape shape.

Parameters
drawAdapterHandle of the device context on which to draw.
frameFrame of reference in which the shape is defined.

◆ Draw() [3/12]

None eVision.EShape.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
float zoomX )

Draws the eVision.EShape shape.

Parameters
drawAdapterHandle of the device context on which to draw.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zooming factor. By default, true scale is used.

◆ Draw() [4/12]

None eVision.EShape.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
float zoomX,
float zoomY )

Draws the eVision.EShape shape.

Parameters
drawAdapterHandle of the device context on which to draw.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ Draw() [5/12]

None eVision.EShape.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX )

Draws the eVision.EShape shape.

Parameters
drawAdapterHandle of the device context on which to draw.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [6/12]

None eVision.EShape.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the eVision.EShape shape.

Parameters
drawAdapterHandle of the device context on which to draw.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [7/12]

None eVision.EShape.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX,
float panY,
bool drawDiagonals )

Draws the eVision.EShape shape.

Parameters
drawAdapterHandle of the device context on which to draw.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
drawDiagonalsIf relevant, draw the diagonals of the shape. By default, the diagonals are not drawn.

◆ Draw() [8/12]

None eVision.EShape.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
float zoomX )

Draws the eVision.EShape shape.

Parameters
drawAdapterHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.

◆ Draw() [9/12]

None eVision.EShape.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
float zoomX,
float zoomY )

Draws the eVision.EShape shape.

Parameters
drawAdapterHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ Draw() [10/12]

None eVision.EShape.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
float zoomX,
float zoomY,
float panX )

Draws the eVision.EShape shape.

Parameters
drawAdapterHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [11/12]

None eVision.EShape.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the eVision.EShape shape.

Parameters
drawAdapterHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.

◆ Draw() [12/12]

None eVision.EShape.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
float zoomX,
float zoomY,
float panX,
float panY,
bool drawDiagonals )

Draws the eVision.EShape shape.

Parameters
drawAdapterHandle of the device context on which to draw.
zoomXHorizontal zooming factor. By default, true scale is used.
zoomYVertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning value expressed in pixels. By default, no panning occurs.
panYVertical panning value expressed in pixels. By default, no panning occurs.
drawDiagonalsIf relevant, draw the diagonals of the shape. By default, the diagonals are not drawn.

◆ EditionMode() [1/2]

eVision.EEditionMode eVision.EShape.EditionMode ( self)

Current edition mode for the shape.

Default: EEditionMode_None.

◆ EditionMode() [2/2]

eVision.EShape.EditionMode ( self,
eVision.EEditionMode value )

Current edition mode for the shape.

Default: EEditionMode_None.

◆ HitTest() [1/8]

eVision.EEditionMode eVision.EShape.HitTest ( self,
int x,
int y,
eVision.EFrame frame,
float zoomX )

Detects if the cursor is placed over one of the dragging handles.

Remarks:

Returns an eVision.EEditionMode indicating the type of handle under the mouse.

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EShape.HitTest and eVision.EShape.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zoom factor. By default, true scale is used.

◆ HitTest() [2/8]

eVision.EEditionMode eVision.EShape.HitTest ( self,
int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY )

Detects if the cursor is placed over one of the dragging handles.

Remarks:

Returns an eVision.EEditionMode indicating the type of handle under the mouse.

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EShape.HitTest and eVision.EShape.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.

◆ HitTest() [3/8]

eVision.EEditionMode eVision.EShape.HitTest ( self,
int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX )

Detects if the cursor is placed over one of the dragging handles.

Remarks:

Returns an eVision.EEditionMode indicating the type of handle under the mouse.

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EShape.HitTest and eVision.EShape.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.
panXHorizontal pan offset. By default, no pan is added.

◆ HitTest() [4/8]

eVision.EEditionMode eVision.EShape.HitTest ( self,
int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX,
float panY )

Detects if the cursor is placed over one of the dragging handles.

Remarks:

Returns an eVision.EEditionMode indicating the type of handle under the mouse.

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EShape.HitTest and eVision.EShape.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame of reference in which the shape is defined.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.
panXHorizontal pan offset. By default, no pan is added.
panYVertical pan offset. By default, no pan is added.

◆ HitTest() [5/8]

eVision.EEditionMode eVision.EShape.HitTest ( self,
int x,
int y,
float zoomX )

Detects if the cursor is placed over one of the dragging handles.

Remarks:

Returns an eVision.EEditionMode indicating the type of handle under the mouse.

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EShape.HitTest and eVision.EShape.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
zoomXHorizontal zoom factor. By default, true scale is used.

◆ HitTest() [6/8]

eVision.EEditionMode eVision.EShape.HitTest ( self,
int x,
int y,
float zoomX,
float zoomY )

Detects if the cursor is placed over one of the dragging handles.

Remarks:

Returns an eVision.EEditionMode indicating the type of handle under the mouse.

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EShape.HitTest and eVision.EShape.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.

◆ HitTest() [7/8]

eVision.EEditionMode eVision.EShape.HitTest ( self,
int x,
int y,
float zoomX,
float zoomY,
float panX )

Detects if the cursor is placed over one of the dragging handles.

Remarks:

Returns an eVision.EEditionMode indicating the type of handle under the mouse.

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EShape.HitTest and eVision.EShape.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.
panXHorizontal pan offset. By default, no pan is added.

◆ HitTest() [8/8]

eVision.EEditionMode eVision.EShape.HitTest ( self,
int x,
int y,
float zoomX,
float zoomY,
float panX,
float panY )

Detects if the cursor is placed over one of the dragging handles.

Remarks:

Returns an eVision.EEditionMode indicating the type of handle under the mouse.

If zooming and/or panning were used when drawing the region, the same values must be used with eVision.EShape.HitTest and eVision.EShape.Drag.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
zoomXHorizontal zoom factor. By default, true scale is used.
zoomYVertical zoom factor. By default, true scale is used.
panXHorizontal pan offset. By default, no pan is added.
panYVertical pan offset. By default, no pan is added.

◆ Load() [1/2]

None eVision.EShape.Load ( self,
eVision.ESerializer | None serializer )

Load the eVision.EShape configuration.

The given eVision.ESerializer must have been created for reading.

Parameters
serializerThe serializer.

Reimplemented in eVision.ELine, and eVision.ELine.

◆ Load() [2/2]

None eVision.EShape.Load ( self,
str path )

Load the eVision.EShape configuration.

The given eVision.ESerializer must have been created for reading.

Parameters
pathThe file path.

Reimplemented in eVision.ELine, and eVision.ELine.

◆ Save() [1/2]

None eVision.EShape.Save ( self,
eVision.ESerializer | None serializer )

Save the eVision.EShape configuration.

The given eVision.ESerializer must have been created for writing.

Parameters
serializerThe serializer.

Reimplemented in eVision.ELine, and eVision.ELine.

◆ Save() [2/2]

None eVision.EShape.Save ( self,
str path )

Save the eVision.EShape configuration.

The given eVision.ESerializer must have been created for writing.

Parameters
pathThe file path.

Reimplemented in eVision.ELine, and eVision.ELine.

◆ ToFrame() [1/2]

eVision.EFrame eVision.EShape.ToFrame ( self,
bool useAngle,
eVision.EFrameScaling frameScaling )

Converts the shape to a frame.

Parameters
useAngleWhether to use the angle of the shape as the orientation of the frame
frameScalingHow to change the scaling of the frame.

◆ ToFrame() [2/2]

eVision.EFrame eVision.EShape.ToFrame ( self,
bool useAngle,
eVision.EFrameScaling frameScaling,
eVision.EFrame shapeFrame )

Converts the shape to a frame.

Parameters
useAngleWhether to use the angle of the shape as the orientation of the frame
frameScalingHow to change the scaling of the frame.
shapeFrameThe frame in which the shape is defined