eVision .NET API
Loading...
Searching...
No Matches
eVision.EBW16PathVector Class Reference

Vector objects are used to store 1-dimensional data. More...

Inheritance diagram for eVision.EBW16PathVector:
Collaboration diagram for eVision.EBW16PathVector:

Public Member Functions

 EBW16PathVector ()
 Constructs a vector.
 EBW16PathVector (uint maxNumberOfElements)
 Constructs a vector.
 EBW16PathVector (eVision.EBW16PathVector other)
 Constructs a vector.
void AddElement (eVision.EBW16Path element)
 Appends (adds at the tail) an element to the vector.
eVision.EBW16Path GetElement (int index)
 Returns the vector element at the given index.
void SetElement (int index, eVision.EBW16Path value)
 Modifies the vector element at the given index by the given value.
void Draw (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY, float originX, float originY)
 Draws the path.
void Draw (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY, float originX)
 Draws the path.
void Draw (eVision.EDrawAdapter graphicContext, float zoomX, float zoomY)
 Draws the path.
void Draw (eVision.EDrawAdapter graphicContext, float zoomX)
 Draws the path.
void Draw (eVision.EDrawAdapter graphicContext)
 Draws the path.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EPathVectorDrawOption drawOption, float zoomX, float zoomY, float originX, float originY)
 Draws the path.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EPathVectorDrawOption drawOption, float zoomX, float zoomY, float originX)
 Draws the path.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EPathVectorDrawOption drawOption, float zoomX, float zoomY)
 Draws the path.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EPathVectorDrawOption drawOption, float zoomX)
 Draws the path.
void Draw (eVision.EDrawAdapter graphicContext, eVision.EPathVectorDrawOption drawOption)
 Draws the path.
void Draw (IntPtr graphicContext, float zoomX, float zoomY, float originX, float originY)
 Draws the path.
void Draw (IntPtr graphicContext, float zoomX, float zoomY, float originX)
 Draws the path.
void Draw (IntPtr graphicContext, float zoomX, float zoomY)
 Draws the path.
void Draw (IntPtr graphicContext, float zoomX)
 Draws the path.
void Draw (IntPtr graphicContext)
 Draws the path.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float originX, float originY)
 Draws the path.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float originX)
 Draws the path.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, float zoomX, float zoomY)
 Draws the path.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, float zoomX)
 Draws the path.
void Draw (IntPtr graphicContext, eVision.ERGBColor color)
 Draws the path.
void DrawWithCurrentPen (IntPtr graphicContext, float zoomX, float zoomY, float originX, float originY)
 Draws the path.
void DrawWithCurrentPen (IntPtr graphicContext, float zoomX, float zoomY, float originX)
 Draws the path.
void DrawWithCurrentPen (IntPtr graphicContext, float zoomX, float zoomY)
 Draws the path.
void DrawWithCurrentPen (IntPtr graphicContext, float zoomX)
 Draws the path.
void DrawWithCurrentPen (IntPtr graphicContext)
 Draws the path.
void DrawClosedContour (eVision.EDrawAdapter graphicContext, eVision.EContourMode contourMode, float zoomX, float zoomY, float originX, float originY)
 Draws the path vector as the closed contour of an object or a blob. The contour mode used to compute the path must be passed as argument to draw the contour correctly. This method only supports the closed contour modes EContourMode.EContourMode_ClockwiseAlwaysClosed and EContourMode.EContourMode_AnticlockwiseAlwaysClosed.
void DrawClosedContour (eVision.EDrawAdapter graphicContext, eVision.EContourMode contourMode, float zoomX, float zoomY, float originX)
 Draws the path vector as the closed contour of an object or a blob. The contour mode used to compute the path must be passed as argument to draw the contour correctly. This method only supports the closed contour modes EContourMode.EContourMode_ClockwiseAlwaysClosed and EContourMode.EContourMode_AnticlockwiseAlwaysClosed.
void DrawClosedContour (eVision.EDrawAdapter graphicContext, eVision.EContourMode contourMode, float zoomX, float zoomY)
 Draws the path vector as the closed contour of an object or a blob. The contour mode used to compute the path must be passed as argument to draw the contour correctly. This method only supports the closed contour modes EContourMode.EContourMode_ClockwiseAlwaysClosed and EContourMode.EContourMode_AnticlockwiseAlwaysClosed.
void DrawClosedContour (eVision.EDrawAdapter graphicContext, eVision.EContourMode contourMode, float zoomX)
 Draws the path vector as the closed contour of an object or a blob. The contour mode used to compute the path must be passed as argument to draw the contour correctly. This method only supports the closed contour modes EContourMode.EContourMode_ClockwiseAlwaysClosed and EContourMode.EContourMode_AnticlockwiseAlwaysClosed.
void DrawClosedContour (eVision.EDrawAdapter graphicContext, eVision.EContourMode contourMode)
 Draws the path vector as the closed contour of an object or a blob. The contour mode used to compute the path must be passed as argument to draw the contour correctly. This method only supports the closed contour modes EContourMode.EContourMode_ClockwiseAlwaysClosed and EContourMode.EContourMode_AnticlockwiseAlwaysClosed.
void Draw (System.Drawing.Graphics graphicContext, float zoomX, float zoomY, float originX, float originY)
 Draws the path.
void Draw (System.Drawing.Graphics graphicContext, float zoomX, float zoomY, float originX)
 Draws the path.
void Draw (System.Drawing.Graphics graphicContext, float zoomX, float zoomY)
 Draws the path.
void Draw (System.Drawing.Graphics graphicContext, float zoomX)
 Draws the path.
void Draw (System.Drawing.Graphics graphicContext)
 Draws the path.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float originX, float originY)
 Draws the path.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float originX)
 Draws the path.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX, float zoomY)
 Draws the path.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX)
 Draws the path.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color)
 Draws the path.
Public Member Functions inherited from eVision.EVector
void Empty ()
 Resets the number of elements to 0.
virtual void RemoveElement (uint index)
 Removes the element at the specified position.
void Save (string path)
 Saves the EVector object with all its attributes.
void Save (eVision.ESerializer serializer)
 Saves the EVector object with all its attributes.
void Save (string path, uint un32Version)
 Saves the EVector object with all its attributes.
void Save (eVision.ESerializer serializer, uint un32Version)
 Saves the EVector object with all its attributes.
void Load (string path)
 Loads the EVector object with all its attributes.
void Load (eVision.ESerializer serializer)
 Loads the EVector object with all its attributes.
void Load (string path, uint un32Version)
 Loads the EVector object with all its attributes.
void Load (eVision.ESerializer serializer, uint un32Version)
 Loads the EVector object with all its attributes.

Properties

eVision.EBW16Path this[uint index] [get, set]
 Gives access to the vector element at the given index.
IntPtr RawDataPtr [get]
 Pointer to the vector data.
bool Closed [get, set]
 Flag indicating whether the shape built with EasyImage.Contour must be closed or not.
Properties inherited from eVision.EVector
uint NumElements [get, set]
 Number of elements in the vector.

Detailed Description

Vector objects are used to store 1-dimensional data.

Using vectors is very similar to using 1-dimensional arrays, except that the size can vary at runtime. Memory allocation is handled internally.

  • To create a vector, use its constructor.
  • To fill a vector with values, first empty it, using the EVector.Empty member, and then add elements one at time at the tail by calling the EBW16PathVector.AddElement member.
  • To access a vector element, either for reading or writing, use the [] operator.
  • To inquire for the current number of elements, use member EVector.NumElements.

License(s): BasicTypes

Constructor & Destructor Documentation

◆ EBW16PathVector() [1/3]

eVision.EBW16PathVector.EBW16PathVector ( )

Constructs a vector.

◆ EBW16PathVector() [2/3]

eVision.EBW16PathVector.EBW16PathVector ( uint maxNumberOfElements)

Constructs a vector.

Parameters
maxNumberOfElementsOptionally, memory can be pre-allocated to accommodate a given number of elements.

◆ EBW16PathVector() [3/3]

eVision.EBW16PathVector.EBW16PathVector ( eVision.EBW16PathVector other)

Constructs a vector.

Parameters
otherEBW16PathVector object to be copied

Member Function Documentation

◆ AddElement()

void eVision.EBW16PathVector.AddElement ( eVision.EBW16Path element)

Appends (adds at the tail) an element to the vector.

Parameters
elementThe element to be added.

◆ Draw() [1/30]

void eVision.EBW16PathVector.Draw ( eVision.EDrawAdapter graphicContext)

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.

◆ Draw() [2/30]

void eVision.EBW16PathVector.Draw ( eVision.EDrawAdapter graphicContext,
eVision.EPathVectorDrawOption drawOption )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
drawOptionOption for how to draw the path vector

◆ Draw() [3/30]

void eVision.EBW16PathVector.Draw ( eVision.EDrawAdapter graphicContext,
eVision.EPathVectorDrawOption drawOption,
float zoomX )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
drawOptionOption for how to draw the path vector
zoomXZooming factor along the X axis (1.0f means no zoom).

◆ Draw() [4/30]

void eVision.EBW16PathVector.Draw ( eVision.EDrawAdapter graphicContext,
eVision.EPathVectorDrawOption drawOption,
float zoomX,
float zoomY )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
drawOptionOption for how to draw the path vector
zoomXZooming factor along the X axis (1.0f means no zoom).
zoomYZooming factor along the Y axis (1.0f means no zoom).

◆ Draw() [5/30]

void eVision.EBW16PathVector.Draw ( eVision.EDrawAdapter graphicContext,
eVision.EPathVectorDrawOption drawOption,
float zoomX,
float zoomY,
float originX )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
drawOptionOption for how to draw the path vector
zoomXZooming factor along the X axis (1.0f means no zoom).
zoomYZooming factor along the Y axis (1.0f means no zoom).
originXAbscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.

◆ Draw() [6/30]

void eVision.EBW16PathVector.Draw ( eVision.EDrawAdapter graphicContext,
eVision.EPathVectorDrawOption drawOption,
float zoomX,
float zoomY,
float originX,
float originY )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
drawOptionOption for how to draw the path vector
zoomXZooming factor along the X axis (1.0f means no zoom).
zoomYZooming factor along the Y axis (1.0f means no zoom).
originXAbscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
originYOrdinate of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.

◆ Draw() [7/30]

void eVision.EBW16PathVector.Draw ( eVision.EDrawAdapter graphicContext,
float zoomX )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
zoomXZooming factor along the X axis (1.0f means no zoom).

◆ Draw() [8/30]

void eVision.EBW16PathVector.Draw ( eVision.EDrawAdapter graphicContext,
float zoomX,
float zoomY )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
zoomXZooming factor along the X axis (1.0f means no zoom).
zoomYZooming factor along the Y axis (1.0f means no zoom).

◆ Draw() [9/30]

void eVision.EBW16PathVector.Draw ( eVision.EDrawAdapter graphicContext,
float zoomX,
float zoomY,
float originX )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
zoomXZooming factor along the X axis (1.0f means no zoom).
zoomYZooming factor along the Y axis (1.0f means no zoom).
originXAbscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.

◆ Draw() [10/30]

void eVision.EBW16PathVector.Draw ( eVision.EDrawAdapter graphicContext,
float zoomX,
float zoomY,
float originX,
float originY )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
zoomXZooming factor along the X axis (1.0f means no zoom).
zoomYZooming factor along the Y axis (1.0f means no zoom).
originXAbscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
originYOrdinate of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.

◆ Draw() [11/30]

void eVision.EBW16PathVector.Draw ( IntPtr graphicContext)

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [12/30]

void eVision.EBW16PathVector.Draw ( IntPtr graphicContext,
eVision.ERGBColor color )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [13/30]

void eVision.EBW16PathVector.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
float zoomX )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
zoomXZooming factor along the X axis (1.0f means no zoom).
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [14/30]

void eVision.EBW16PathVector.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
float zoomX,
float zoomY )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
zoomXZooming factor along the X axis (1.0f means no zoom).
zoomYZooming factor along the Y axis (1.0f means no zoom).
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [15/30]

void eVision.EBW16PathVector.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
float zoomX,
float zoomY,
float originX )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
zoomXZooming factor along the X axis (1.0f means no zoom).
zoomYZooming factor along the Y axis (1.0f means no zoom).
originXAbscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [16/30]

void eVision.EBW16PathVector.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
float zoomX,
float zoomY,
float originX,
float originY )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
zoomXZooming factor along the X axis (1.0f means no zoom).
zoomYZooming factor along the Y axis (1.0f means no zoom).
originXAbscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
originYOrdinate of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [17/30]

void eVision.EBW16PathVector.Draw ( IntPtr graphicContext,
float zoomX )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
zoomXZooming factor along the X axis (1.0f means no zoom).
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [18/30]

void eVision.EBW16PathVector.Draw ( IntPtr graphicContext,
float zoomX,
float zoomY )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
zoomXZooming factor along the X axis (1.0f means no zoom).
zoomYZooming factor along the Y axis (1.0f means no zoom).
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [19/30]

void eVision.EBW16PathVector.Draw ( IntPtr graphicContext,
float zoomX,
float zoomY,
float originX )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
zoomXZooming factor along the X axis (1.0f means no zoom).
zoomYZooming factor along the Y axis (1.0f means no zoom).
originXAbscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [20/30]

void eVision.EBW16PathVector.Draw ( IntPtr graphicContext,
float zoomX,
float zoomY,
float originX,
float originY )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
zoomXZooming factor along the X axis (1.0f means no zoom).
zoomYZooming factor along the Y axis (1.0f means no zoom).
originXAbscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
originYOrdinate of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [21/30]

void eVision.EBW16PathVector.Draw ( System.Drawing.Graphics graphicContext)

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [22/30]

void eVision.EBW16PathVector.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [23/30]

void eVision.EBW16PathVector.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
float zoomX )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
zoomXZooming factor along the X axis (1.0f means no zoom).
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [24/30]

void eVision.EBW16PathVector.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
float zoomX,
float zoomY )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
zoomXZooming factor along the X axis (1.0f means no zoom).
zoomYZooming factor along the Y axis (1.0f means no zoom).
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [25/30]

void eVision.EBW16PathVector.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
float zoomX,
float zoomY,
float originX )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
zoomXZooming factor along the X axis (1.0f means no zoom).
zoomYZooming factor along the Y axis (1.0f means no zoom).
originXAbscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [26/30]

void eVision.EBW16PathVector.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
float zoomX,
float zoomY,
float originX,
float originY )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the overlay.
zoomXZooming factor along the X axis (1.0f means no zoom).
zoomYZooming factor along the Y axis (1.0f means no zoom).
originXAbscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
originYOrdinate of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [27/30]

void eVision.EBW16PathVector.Draw ( System.Drawing.Graphics graphicContext,
float zoomX )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
zoomXZooming factor along the X axis (1.0f means no zoom).
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [28/30]

void eVision.EBW16PathVector.Draw ( System.Drawing.Graphics graphicContext,
float zoomX,
float zoomY )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
zoomXZooming factor along the X axis (1.0f means no zoom).
zoomYZooming factor along the Y axis (1.0f means no zoom).
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [29/30]

void eVision.EBW16PathVector.Draw ( System.Drawing.Graphics graphicContext,
float zoomX,
float zoomY,
float originX )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
zoomXZooming factor along the X axis (1.0f means no zoom).
zoomYZooming factor along the Y axis (1.0f means no zoom).
originXAbscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [30/30]

void eVision.EBW16PathVector.Draw ( System.Drawing.Graphics graphicContext,
float zoomX,
float zoomY,
float originX,
float originY )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
zoomXZooming factor along the X axis (1.0f means no zoom).
zoomYZooming factor along the Y axis (1.0f means no zoom).
originXAbscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
originYOrdinate of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawClosedContour() [1/5]

void eVision.EBW16PathVector.DrawClosedContour ( eVision.EDrawAdapter graphicContext,
eVision.EContourMode contourMode )

Draws the path vector as the closed contour of an object or a blob. The contour mode used to compute the path must be passed as argument to draw the contour correctly. This method only supports the closed contour modes EContourMode.EContourMode_ClockwiseAlwaysClosed and EContourMode.EContourMode_AnticlockwiseAlwaysClosed.

Parameters
graphicContextHandle of the device context on which to draw.
contourModeContour mode used to get this path vector used to draw the external boundary of the contour.

◆ DrawClosedContour() [2/5]

void eVision.EBW16PathVector.DrawClosedContour ( eVision.EDrawAdapter graphicContext,
eVision.EContourMode contourMode,
float zoomX )

Draws the path vector as the closed contour of an object or a blob. The contour mode used to compute the path must be passed as argument to draw the contour correctly. This method only supports the closed contour modes EContourMode.EContourMode_ClockwiseAlwaysClosed and EContourMode.EContourMode_AnticlockwiseAlwaysClosed.

Parameters
graphicContextHandle of the device context on which to draw.
contourModeContour mode used to get this path vector used to draw the external boundary of the contour.
zoomXZooming factor along the X axis (1.0f means no zoom).

◆ DrawClosedContour() [3/5]

void eVision.EBW16PathVector.DrawClosedContour ( eVision.EDrawAdapter graphicContext,
eVision.EContourMode contourMode,
float zoomX,
float zoomY )

Draws the path vector as the closed contour of an object or a blob. The contour mode used to compute the path must be passed as argument to draw the contour correctly. This method only supports the closed contour modes EContourMode.EContourMode_ClockwiseAlwaysClosed and EContourMode.EContourMode_AnticlockwiseAlwaysClosed.

Parameters
graphicContextHandle of the device context on which to draw.
contourModeContour mode used to get this path vector used to draw the external boundary of the contour.
zoomXZooming factor along the X axis (1.0f means no zoom).
zoomYZooming factor along the Y axis (1.0f means no zoom).

◆ DrawClosedContour() [4/5]

void eVision.EBW16PathVector.DrawClosedContour ( eVision.EDrawAdapter graphicContext,
eVision.EContourMode contourMode,
float zoomX,
float zoomY,
float originX )

Draws the path vector as the closed contour of an object or a blob. The contour mode used to compute the path must be passed as argument to draw the contour correctly. This method only supports the closed contour modes EContourMode.EContourMode_ClockwiseAlwaysClosed and EContourMode.EContourMode_AnticlockwiseAlwaysClosed.

Parameters
graphicContextHandle of the device context on which to draw.
contourModeContour mode used to get this path vector used to draw the external boundary of the contour.
zoomXZooming factor along the X axis (1.0f means no zoom).
zoomYZooming factor along the Y axis (1.0f means no zoom).
originXAbscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.

◆ DrawClosedContour() [5/5]

void eVision.EBW16PathVector.DrawClosedContour ( eVision.EDrawAdapter graphicContext,
eVision.EContourMode contourMode,
float zoomX,
float zoomY,
float originX,
float originY )

Draws the path vector as the closed contour of an object or a blob. The contour mode used to compute the path must be passed as argument to draw the contour correctly. This method only supports the closed contour modes EContourMode.EContourMode_ClockwiseAlwaysClosed and EContourMode.EContourMode_AnticlockwiseAlwaysClosed.

Parameters
graphicContextHandle of the device context on which to draw.
contourModeContour mode used to get this path vector used to draw the external boundary of the contour.
zoomXZooming factor along the X axis (1.0f means no zoom).
zoomYZooming factor along the Y axis (1.0f means no zoom).
originXAbscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
originYOrdinate of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.

◆ DrawWithCurrentPen() [1/5]

void eVision.EBW16PathVector.DrawWithCurrentPen ( IntPtr graphicContext)

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawWithCurrentPen() [2/5]

void eVision.EBW16PathVector.DrawWithCurrentPen ( IntPtr graphicContext,
float zoomX )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
zoomXZooming factor along the X axis (1.0f means no zoom).
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawWithCurrentPen() [3/5]

void eVision.EBW16PathVector.DrawWithCurrentPen ( IntPtr graphicContext,
float zoomX,
float zoomY )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
zoomXZooming factor along the X axis (1.0f means no zoom).
zoomYZooming factor along the Y axis (1.0f means no zoom).
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawWithCurrentPen() [4/5]

void eVision.EBW16PathVector.DrawWithCurrentPen ( IntPtr graphicContext,
float zoomX,
float zoomY,
float originX )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
zoomXZooming factor along the X axis (1.0f means no zoom).
zoomYZooming factor along the Y axis (1.0f means no zoom).
originXAbscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ DrawWithCurrentPen() [5/5]

void eVision.EBW16PathVector.DrawWithCurrentPen ( IntPtr graphicContext,
float zoomX,
float zoomY,
float originX,
float originY )

Draws the path.

By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).

Parameters
graphicContextHandle of the device context on which to draw.
zoomXZooming factor along the X axis (1.0f means no zoom).
zoomYZooming factor along the Y axis (1.0f means no zoom).
originXAbscissa of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
originYOrdinate of the upper left corner of the plot's bounding rectangle, in pixels. By default, the upper left corner of the window is used.
Deprecated
Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ GetElement()

eVision.EBW16Path eVision.EBW16PathVector.GetElement ( int index)

Returns the vector element at the given index.

Parameters
indexIndex, between 0 and EVector.NumElements (excluded) of the element to be accessed.

If the given index is outside the bounds of the vector, the error code EError.EError_Parameter1OutOfRange is set.

◆ SetElement()

void eVision.EBW16PathVector.SetElement ( int index,
eVision.EBW16Path value )

Modifies the vector element at the given index by the given value.

Parameters
indexIndex, between 0 and EVector.NumElements (excluded), of the element to be modified.
valueThe new value for the element.

If the given index is outside the bounds of the vector, the error code EError.EError_Parameter1OutOfRange is set.

Property Documentation

◆ Closed

bool eVision.EBW16PathVector.Closed
getset

Flag indicating whether the shape built with EasyImage.Contour must be closed or not.

◆ RawDataPtr

IntPtr eVision.EBW16PathVector.RawDataPtr
get

Pointer to the vector data.

◆ this[uint index]

eVision.EBW16Path eVision.EBW16PathVector.this[uint index]
getset

Gives access to the vector element at the given index.

Parameters
indexIndex, between 0 and EVector.NumElements (excluded) of the element to be accessed.