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

Manages a complete context for an ERegion shaped like a polygon. More...

Inheritance diagram for eVision.EPolygonRegion:
Collaboration diagram for eVision.EPolygonRegion:

Public Member Functions

 EPolygonRegion ()
 Constructs an EPolygonRegion context.
 EPolygonRegion (eVision.EPoint[] points)
 Constructs an EPolygonRegion context.
 EPolygonRegion (eVision.EPolygonRegion other)
 Constructs an EPolygonRegion context.
void AddPoint (eVision.EPoint point)
 Add a new vertex at the end of the region.
override eVision.ERegion Translate (float dx, float dy)
 Creates a new region by translating the EPolygonRegion.
override eVision.ERegion Scale (float scale)
 Creates a new region by scaling the EPolygonRegion. The center of the EPolygonRegion remains at the same place.
override eVision.ERegion Scale (float scaleX, float scaleY)
 Creates a new region by scaling the EPolygonRegion. The center of the EPolygonRegion remains at the same place.
override eVision.ERegion Rotate (float angle)
 Creates a new region by rotating the EPolygonRegion around its center.
override eVision.ERegion Transform (float scaleX, float scaleY, float angle, float dx, float dy)
 Creates a new EPolygonRegion by scaling, rotating and then translating the EPolygonRegion.
override eVision.EEditionMode HitTest (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.
override eVision.EEditionMode HitTest (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.
override eVision.EEditionMode HitTest (int x, int y, eVision.EFrame frame, float zoomX, float zoomY)
 Detects if the cursor is placed over one of the dragging handles.
override eVision.EEditionMode HitTest (int x, int y, eVision.EFrame frame, float zoomX)
 Detects if the cursor is placed over one of the dragging handles.
override eVision.EEditionMode HitTest (int x, int y, eVision.EFrame frame)
 Detects if the cursor is placed over one of the dragging handles.
override void Drag (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.
override void Drag (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.
override void Drag (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.
override void Drag (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.
override void Drag (int x, int y, eVision.EFrame frame)
 Moves the specified handle to a new position and updates all placement parameters of the region.
bool InsertPoint (int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Insert a vertice between two existing ones.
bool InsertPoint (int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Insert a vertice between two existing ones.
bool InsertPoint (int x, int y, eVision.EFrame frame, float zoomX, float zoomY)
 Insert a vertice between two existing ones.
bool InsertPoint (int x, int y, eVision.EFrame frame, float zoomX)
 Insert a vertice between two existing ones.
bool InsertPoint (int x, int y, eVision.EFrame frame)
 Insert a vertice between two existing ones.
bool InsertPoint (int x, int y, float zoomX, float zoomY, float panX, float panY)
 Insert a vertice between two existing ones.
bool InsertPoint (int x, int y, float zoomX, float zoomY, float panX)
 Insert a vertice between two existing ones.
bool InsertPoint (int x, int y, float zoomX, float zoomY)
 Insert a vertice between two existing ones.
bool InsertPoint (int x, int y, float zoomX)
 Insert a vertice between two existing ones.
bool InsertPoint (int x, int y)
 Insert a vertice between two existing ones.
bool RemovePoint (int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Remove a vertex.
bool RemovePoint (int x, int y, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Remove a vertex.
bool RemovePoint (int x, int y, eVision.EFrame frame, float zoomX, float zoomY)
 Remove a vertex.
bool RemovePoint (int x, int y, eVision.EFrame frame, float zoomX)
 Remove a vertex.
bool RemovePoint (int x, int y, eVision.EFrame frame)
 Remove a vertex.
bool RemovePoint (int x, int y, float zoomX, float zoomY, float panX, float panY)
 Remove a vertex.
bool RemovePoint (int x, int y, float zoomX, float zoomY, float panX)
 Remove a vertex.
bool RemovePoint (int x, int y, float zoomX, float zoomY)
 Remove a vertex.
bool RemovePoint (int x, int y, float zoomX)
 Remove a vertex.
bool RemovePoint (int x, int y)
 Remove a vertex.
override void Load (string path)
 Loads the EPolygonRegion. The given ESerializer must have been created for reading.
override void Load (eVision.ESerializer serializer)
 Loads the EPolygonRegion. The given ESerializer must have been created for reading.
override void Save (string path)
 Saves the EPolygonRegion. The given ESerializer must have been created for writing.
override void Save (eVision.ESerializer serializer)
 Saves the EPolygonRegion. The given ESerializer must have been created for writing.
override eVision.ERegion Clone ()
 Clones the ERegion, the cloned Region will be an EPolygonRegion as well.
new eVision.EEditionMode HitTest (int x, int y, float zoomX, float zoomY, float panX, float panY)
 Detects if the cursor is placed over one of the dragging handles.
new eVision.EEditionMode HitTest (int x, int y, float zoomX, float zoomY, float panX)
 Detects if the cursor is placed over one of the dragging handles.
new eVision.EEditionMode HitTest (int x, int y, float zoomX, float zoomY)
 Detects if the cursor is placed over one of the dragging handles.
new eVision.EEditionMode HitTest (int x, int y, float zoomX)
 Detects if the cursor is placed over one of the dragging handles.
new eVision.EEditionMode HitTest (int x, int y)
 Detects if the cursor is placed over one of the dragging handles.
new void Drag (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.
new void Drag (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.
new void Drag (int x, int y, float zoomX, float zoomY)
 Moves the specified handle to a new position and updates all placement parameters of the region.
new void Drag (int x, int y, float zoomX)
 Moves the specified handle to a new position and updates all placement parameters of the region.
new void Drag (int x, int y)
 Moves the specified handle to a new position and updates all placement parameters of the region.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Draws the EPolygonRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Draws the EPolygonRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY)
 Draws the EPolygonRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX)
 Draws the EPolygonRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame)
 Draws the EPolygonRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the EPolygonRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX)
 Draws the EPolygonRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity, float zoomX, float zoomY)
 Draws the EPolygonRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity, float zoomX)
 Draws the EPolygonRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity)
 Draws the EPolygonRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color)
 Draws the EPolygonRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY, float panX, float panY)
 Draws the EPolygonRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY, float panX)
 Draws the EPolygonRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY)
 Draws the EPolygonRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, float zoomX)
 Draws the EPolygonRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter)
 Draws the EPolygonRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the EPolygonRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX)
 Draws the EPolygonRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color, float opacity, float zoomX, float zoomY)
 Draws the EPolygonRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color, float opacity, float zoomX)
 Draws the EPolygonRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color, float opacity)
 Draws the EPolygonRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color)
 Draws the EPolygonRegion shape.
new void Draw (IntPtr graphicContext, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the EPolygonRegion shape.
new void Draw (IntPtr graphicContext, float opacity, float zoomX, float zoomY, float panX)
 Draws the EPolygonRegion shape.
new void Draw (IntPtr graphicContext, float opacity, float zoomX, float zoomY)
 Draws the EPolygonRegion shape.
new void Draw (IntPtr graphicContext, float opacity, float zoomX)
 Draws the EPolygonRegion shape.
new void Draw (IntPtr graphicContext, float opacity)
 Draws the EPolygonRegion shape.
new void Draw (IntPtr graphicContext)
 Draws the EPolygonRegion shape.
new void Draw (IntPtr graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the EPolygonRegion shape.
new void Draw (IntPtr graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX)
 Draws the EPolygonRegion shape.
new void Draw (IntPtr graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY)
 Draws the EPolygonRegion shape.
new void Draw (IntPtr graphicContext, eVision.ERGBColor color, float opacity, float zoomX)
 Draws the EPolygonRegion shape.
new void Draw (IntPtr graphicContext, eVision.ERGBColor color, float opacity)
 Draws the EPolygonRegion shape.
new void Draw (IntPtr graphicContext, eVision.ERGBColor color)
 Draws the EPolygonRegion shape.
new void Draw (System.Drawing.Graphics graphicContext, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the EPolygonRegion shape.
new void Draw (System.Drawing.Graphics graphicContext, float opacity, float zoomX, float zoomY, float panX)
 Draws the EPolygonRegion shape.
new void Draw (System.Drawing.Graphics graphicContext, float opacity, float zoomX, float zoomY)
 Draws the EPolygonRegion shape.
new void Draw (System.Drawing.Graphics graphicContext, float opacity, float zoomX)
 Draws the EPolygonRegion shape.
new void Draw (System.Drawing.Graphics graphicContext, float opacity)
 Draws the EPolygonRegion shape.
new void Draw (System.Drawing.Graphics graphicContext)
 Draws the EPolygonRegion shape.
new void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the EPolygonRegion shape.
new void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX)
 Draws the EPolygonRegion shape.
new void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY)
 Draws the EPolygonRegion shape.
new void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float opacity, float zoomX)
 Draws the EPolygonRegion shape.
new void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float opacity)
 Draws the EPolygonRegion shape.
new void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color)
 Draws the EPolygonRegion shape.
Public Member Functions inherited from eVision.ERegion
 ERegion ()
 Constructs an ERegion context.
 ERegion (eVision.ERegion other)
 Constructs an ERegion context.
 ERegion (eVision.EROIBW8 roi, eVision.EBW8 threshold)
 Constructs an ERegion context.
 ERegion (eVision.EROIBW16 roi, eVision.EBW16 threshold)
 Constructs an ERegion context.
 ERegion (eVision.ERun[] runs)
 Constructs an ERegion context.
eVision.ERegion FillHoles ()
 Returns a new ERegion.ERegion whose holes are filled.
void Prepare (eVision.EROIBW8 roi)
 Computes the values necessary for the ERegion to be used during processing.
void Prepare (eVision.EROIBW16 roi)
 Computes the values necessary for the ERegion to be used during processing.
void Prepare (eVision.EROIBW32 roi)
 Computes the values necessary for the ERegion to be used during processing.
void Prepare (eVision.EROIBW32f roi)
 Computes the values necessary for the ERegion to be used during processing.
void Prepare (eVision.EROIC24 roi)
 Computes the values necessary for the ERegion to be used during processing.
void Prepare (eVision.EROIC24A roi)
 Computes the values necessary for the ERegion to be used during processing.
void Prepare (eVision.EROIC48 roi)
 Computes the values necessary for the ERegion to be used during processing.
void Prepare (int width, int height)
 Computes the values necessary for the ERegion to be used during processing.
void Prepare (int orgX, int orgY, int width, int height)
 Computes the values necessary for the ERegion to be used during processing.
void Prepare ()
 Computes the values necessary for the ERegion to be used during processing.
eVision.ERegion LocalToSensor (eVision.EFrame frame)
 Converts the region from the local reference frame to the sensor reference frame.
eVision.ERegion SensorToLocal (eVision.EFrame frame)
 Converts the region from the sensor reference frame to the local reference frame.
void ToImage (eVision.EImageC24 img, eVision.EC24 background, eVision.EC24 foreground)
 Exports the ERegion to a mask-type image.
void ToImage (eVision.EImageC24A img, eVision.EC24A background, eVision.EC24A foreground)
 Exports the ERegion to a mask-type image.
void ToImage (eVision.EImageBW8 img, eVision.EBW8 background, eVision.EBW8 foreground)
 Exports the ERegion to a mask-type image.
void ToImage (eVision.EImageBW16 img, eVision.EBW16 background, eVision.EBW16 foreground)
 Exports the ERegion to a mask-type image.
eVision.ERegion TranslateRuns (int dx, int dy)
 Creates a new ERegion by translating the region runs.
eVision.ERegion CropRuns (int orgX, int orgY, int width, int height)
 Creates a new ERegion by cropping the ERegion runs within a given area.
eVision.ERegion Grow (int radius)
 Creates a new ERegion by growing the ERegion runs with a dilation using a circular structuring element.
eVision.ERegion Shrink (int radius)
 Creates a new ERegion by shrinking the ERegion runs with an erosion using a circular structuring element.
eVision.ERegion Contour (int thickness, bool centered)
 Creates a new ERegion containing the contour of the ERegion.
eVision.ERegion Contour (int thickness)
 Creates a new ERegion containing the contour of the ERegion.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegion shape.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Draws the ERegion shape.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY)
 Draws the ERegion shape.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX)
 Draws the ERegion shape.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame)
 Draws the ERegion shape.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegion shape.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX)
 Draws the ERegion shape.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity, float zoomX, float zoomY)
 Draws the ERegion shape.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity, float zoomX)
 Draws the ERegion shape.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity)
 Draws the ERegion shape.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color)
 Draws the ERegion shape.
void Draw (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegion shape.
void Draw (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY, float panX)
 Draws the ERegion shape.
void Draw (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY)
 Draws the ERegion shape.
void Draw (eVision.EDrawAdapter drawAdapter, float zoomX)
 Draws the ERegion shape.
void Draw (eVision.EDrawAdapter drawAdapter)
 Draws the ERegion shape.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegion shape.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX)
 Draws the ERegion shape.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color, float opacity, float zoomX, float zoomY)
 Draws the ERegion shape.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color, float opacity, float zoomX)
 Draws the ERegion shape.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color, float opacity)
 Draws the ERegion shape.
void Draw (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color)
 Draws the ERegion shape.
void Draw (IntPtr graphicContext, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegion shape.
void Draw (IntPtr graphicContext, float opacity, float zoomX, float zoomY, float panX)
 Draws the ERegion shape.
void Draw (IntPtr graphicContext, float opacity, float zoomX, float zoomY)
 Draws the ERegion shape.
void Draw (IntPtr graphicContext, float opacity, float zoomX)
 Draws the ERegion shape.
void Draw (IntPtr graphicContext, float opacity)
 Draws the ERegion shape.
void Draw (IntPtr graphicContext)
 Draws the ERegion shape.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegion shape.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX)
 Draws the ERegion shape.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY)
 Draws the ERegion shape.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, float opacity, float zoomX)
 Draws the ERegion shape.
void Draw (IntPtr graphicContext, eVision.ERGBColor color, float opacity)
 Draws the ERegion shape.
void Draw (IntPtr graphicContext, eVision.ERGBColor color)
 Draws the ERegion shape.
void DrawWithCurrentPen (IntPtr graphicContext, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegion area.
void DrawWithCurrentPen (IntPtr graphicContext, float opacity, float zoomX, float zoomY, float panX)
 Draws the ERegion area.
void DrawWithCurrentPen (IntPtr graphicContext, float opacity, float zoomX, float zoomY)
 Draws the ERegion area.
void DrawWithCurrentPen (IntPtr graphicContext, float opacity, float zoomX)
 Draws the ERegion area.
void DrawWithCurrentPen (IntPtr graphicContext, float opacity)
 Draws the ERegion area.
void DrawWithCurrentPen (IntPtr graphicContext)
 Draws the ERegion area.
void DrawContour (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegion contour.
void DrawContour (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Draws the ERegion contour.
void DrawContour (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY)
 Draws the ERegion contour.
void DrawContour (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX)
 Draws the ERegion contour.
void DrawContour (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame)
 Draws the ERegion contour.
void DrawContour (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegion contour.
void DrawContour (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float zoomX, float zoomY, float panX)
 Draws the ERegion contour.
void DrawContour (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float zoomX, float zoomY)
 Draws the ERegion contour.
void DrawContour (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float zoomX)
 Draws the ERegion contour.
void DrawContour (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color)
 Draws the ERegion contour.
void DrawContour (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegion contour.
void DrawContour (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY, float panX)
 Draws the ERegion contour.
void DrawContour (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY)
 Draws the ERegion contour.
void DrawContour (eVision.EDrawAdapter drawAdapter, float zoomX)
 Draws the ERegion contour.
void DrawContour (eVision.EDrawAdapter drawAdapter)
 Draws the ERegion contour.
void DrawContour (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegion contour.
void DrawContour (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color, float zoomX, float zoomY, float panX)
 Draws the ERegion contour.
void DrawContour (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color, float zoomX, float zoomY)
 Draws the ERegion contour.
void DrawContour (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color, float zoomX)
 Draws the ERegion contour.
void DrawContour (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color)
 Draws the ERegion contour.
void DrawContour (IntPtr graphicContext, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegion contour.
void DrawContour (IntPtr graphicContext, float zoomX, float zoomY, float panX)
 Draws the ERegion contour.
void DrawContour (IntPtr graphicContext, float zoomX, float zoomY)
 Draws the ERegion contour.
void DrawContour (IntPtr graphicContext, float zoomX)
 Draws the ERegion contour.
void DrawContour (IntPtr graphicContext)
 Draws the ERegion contour.
void DrawContour (IntPtr graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegion contour.
void DrawContour (IntPtr graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX)
 Draws the ERegion contour.
void DrawContour (IntPtr graphicContext, eVision.ERGBColor color, float zoomX, float zoomY)
 Draws the ERegion contour.
void DrawContour (IntPtr graphicContext, eVision.ERGBColor color, float zoomX)
 Draws the ERegion contour.
void DrawContour (IntPtr graphicContext, eVision.ERGBColor color)
 Draws the ERegion contour.
void DrawContourWithCurrentPen (IntPtr hdc, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegion contour with the current pen.
void DrawHandles (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Draws the region handles.
void DrawHandles (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Draws the region handles.
void DrawHandles (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY)
 Draws the region handles.
void DrawHandles (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX)
 Draws the region handles.
void DrawHandles (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame)
 Draws the region handles.
void DrawHandles (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY)
 Draws the region handles.
void DrawHandles (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float zoomX, float zoomY, float panX)
 Draws the region handles.
void DrawHandles (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float zoomX, float zoomY)
 Draws the region handles.
void DrawHandles (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float zoomX)
 Draws the region handles.
void DrawHandles (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color)
 Draws the region handles.
void DrawHandles (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY, float panX, float panY)
 Draws the region handles.
void DrawHandles (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY, float panX)
 Draws the region handles.
void DrawHandles (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY)
 Draws the region handles.
void DrawHandles (eVision.EDrawAdapter drawAdapter, float zoomX)
 Draws the region handles.
void DrawHandles (eVision.EDrawAdapter drawAdapter)
 Draws the region handles.
void DrawHandles (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY)
 Draws the region handles.
void DrawHandles (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color, float zoomX, float zoomY, float panX)
 Draws the region handles.
void DrawHandles (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color, float zoomX, float zoomY)
 Draws the region handles.
void DrawHandles (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color, float zoomX)
 Draws the region handles.
void DrawHandles (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color)
 Draws the region handles.
void DrawHandles (IntPtr hdc, float zoomX, float zoomY, float panX, float panY)
 Draws the region handles.
void DrawHandles (IntPtr hdc, float zoomX, float zoomY, float panX)
 Draws the region handles.
void DrawHandles (IntPtr hdc, float zoomX, float zoomY)
 Draws the region handles.
void DrawHandles (IntPtr hdc, float zoomX)
 Draws the region handles.
void DrawHandles (IntPtr hdc)
 Draws the region handles.
void DrawHandles (IntPtr hdc, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY)
 Draws the region handles.
void DrawHandles (IntPtr hdc, eVision.ERGBColor color, float zoomX, float zoomY, float panX)
 Draws the region handles.
void DrawHandles (IntPtr hdc, eVision.ERGBColor color, float zoomX, float zoomY)
 Draws the region handles.
void DrawHandles (IntPtr hdc, eVision.ERGBColor color, float zoomX)
 Draws the region handles.
void DrawHandles (IntPtr hdc, eVision.ERGBColor color)
 Draws the region handles.
void DrawHandlesWithCurrentPen (IntPtr hdc, float zoomX, float zoomY, float panX, float panY)
 Draws the region handles with the current pen.
void DrawHandlesWithCurrentPen (IntPtr hdc, float zoomX, float zoomY, float panX)
 Draws the region handles with the current pen.
void DrawHandlesWithCurrentPen (IntPtr hdc, float zoomX, float zoomY)
 Draws the region handles with the current pen.
void DrawHandlesWithCurrentPen (IntPtr hdc, float zoomX)
 Draws the region handles with the current pen.
void DrawHandlesWithCurrentPen (IntPtr hdc)
 Draws the region handles with the current pen.
eVision.EEditionMode HitTest (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 (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 (int x, int y, float zoomX, float zoomY)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (int x, int y, float zoomX)
 Detects if the cursor is placed over one of the dragging handles.
eVision.EEditionMode HitTest (int x, int y)
 Detects if the cursor is placed over one of the dragging handles.
void Drag (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.
void Drag (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.
void Drag (int x, int y, float zoomX, float zoomY)
 Moves the specified handle to a new position and updates all placement parameters of the region.
void Drag (int x, int y, float zoomX)
 Moves the specified handle to a new position and updates all placement parameters of the region.
void Drag (int x, int y)
 Moves the specified handle to a new position and updates all placement parameters of the region.
virtual bool IsPointInRegion (eVision.EPoint point)
 Checks if a point is inside the rasterized region.
void Draw (System.Drawing.Graphics graphicContext, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegion shape.
void Draw (System.Drawing.Graphics graphicContext, float opacity, float zoomX, float zoomY, float panX)
 Draws the ERegion shape.
void Draw (System.Drawing.Graphics graphicContext, float opacity, float zoomX, float zoomY)
 Draws the ERegion shape.
void Draw (System.Drawing.Graphics graphicContext, float opacity, float zoomX)
 Draws the ERegion shape.
void Draw (System.Drawing.Graphics graphicContext, float opacity)
 Draws the ERegion shape.
void Draw (System.Drawing.Graphics graphicContext)
 Draws the ERegion shape.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegion shape.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX)
 Draws the ERegion shape.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY)
 Draws the ERegion shape.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float opacity, float zoomX)
 Draws the ERegion shape.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float opacity)
 Draws the ERegion shape.
void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color)
 Draws the ERegion shape.
void DrawContour (System.Drawing.Graphics graphicContext, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegion contour.
void DrawContour (System.Drawing.Graphics graphicContext, float zoomX, float zoomY, float panX)
 Draws the ERegion contour.
void DrawContour (System.Drawing.Graphics graphicContext, float zoomX, float zoomY)
 Draws the ERegion contour.
void DrawContour (System.Drawing.Graphics graphicContext, float zoomX)
 Draws the ERegion contour.
void DrawContour (System.Drawing.Graphics graphicContext)
 Draws the ERegion contour.
void DrawContour (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY)
 Draws the ERegion contour.
void DrawContour (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX, float zoomY, float panX)
 Draws the ERegion contour.
void DrawContour (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX, float zoomY)
 Draws the ERegion contour.
void DrawContour (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float zoomX)
 Draws the ERegion contour.
void DrawContour (System.Drawing.Graphics graphicContext, eVision.ERGBColor color)
 Draws the ERegion contour.
void DrawHandles (System.Drawing.Graphics hdc, float zoomX, float zoomY, float panX, float panY)
 Draws the region handles.
void DrawHandles (System.Drawing.Graphics hdc, float zoomX, float zoomY, float panX)
 Draws the region handles.
void DrawHandles (System.Drawing.Graphics hdc, float zoomX, float zoomY)
 Draws the region handles.
void DrawHandles (System.Drawing.Graphics hdc, float zoomX)
 Draws the region handles.
void DrawHandles (System.Drawing.Graphics hdc)
 Draws the region handles.
void DrawHandles (System.Drawing.Graphics hdc, eVision.ERGBColor color, float zoomX, float zoomY, float panX, float panY)
 Draws the region handles.
void DrawHandles (System.Drawing.Graphics hdc, eVision.ERGBColor color, float zoomX, float zoomY, float panX)
 Draws the region handles.
void DrawHandles (System.Drawing.Graphics hdc, eVision.ERGBColor color, float zoomX, float zoomY)
 Draws the region handles.
void DrawHandles (System.Drawing.Graphics hdc, eVision.ERGBColor color, float zoomX)
 Draws the region handles.
void DrawHandles (System.Drawing.Graphics hdc, eVision.ERGBColor color)
 Draws the region handles.

Properties

eVision.EPoint[] Points [get, set]
 List of vertices of the region.
int NumPoints [get]
 Number of vertices of the region.
override eVision.EEditionMode AvailableEditionModes [get]
 Returns all possible edition modes of the region.
Properties inherited from eVision.ERegion
eVision.ERun[] Runs [get, set]
 Runs of the region.
virtual int BoundingBoxOrgX [get]
 Bounding box origin abscissa.
virtual int BoundingBoxOrgY [get]
 Bounding box origin ordinate.
virtual int BoundingBoxWidth [get]
 Bounding box width.
virtual int BoundingBoxHeight [get]
 Bounding box height.
virtual int Area [get]
 Area of the ERegion.
eVision.EEditionMode EditionMode [get, set]
 Graphical edition mode.
virtual eVision.EEditionMode AvailableEditionModes [get]
 Returns all possible edition modes of the region.

Additional Inherited Members

Static Public Member Functions inherited from eVision.ERegion
static eVision.ERegion Union (eVision.ERegion region1, eVision.ERegion region2)
 Creates a new ERegion by combining two ERegion.
static eVision.ERegion Intersection (eVision.ERegion region1, eVision.ERegion region2)
 Creates a new ERegion by intersecting two ERegion.
static eVision.ERegion Subtraction (eVision.ERegion region1, eVision.ERegion region2)
 Creates a new ERegion by subtracting one ERegion from another.
static eVision.ERegion Make (string file)
 Makes a typed region based on the serialized file.
static eVision.ERegion Make (eVision.ESerializer serializer)
 Makes a typed region based on the serialized file.

Detailed Description

Manages a complete context for an ERegion shaped like a polygon.

License(s): BasicTypes

Constructor & Destructor Documentation

◆ EPolygonRegion() [1/3]

eVision.EPolygonRegion.EPolygonRegion ( )

Constructs an EPolygonRegion context.

◆ EPolygonRegion() [2/3]

eVision.EPolygonRegion.EPolygonRegion ( eVision.EPoint[] points)

Constructs an EPolygonRegion context.

Parameters
pointsThe list of vertices of the EPolygonRegion.

◆ EPolygonRegion() [3/3]

eVision.EPolygonRegion.EPolygonRegion ( eVision.EPolygonRegion other)

Constructs an EPolygonRegion context.

Parameters
otherEPolygonRegion context to copy.

Member Function Documentation

◆ AddPoint()

void eVision.EPolygonRegion.AddPoint ( eVision.EPoint point)

Add a new vertex at the end of the region.

Parameters
pointPoint to add

◆ Clone()

override eVision.ERegion eVision.EPolygonRegion.Clone ( )
virtual

Clones the ERegion, the cloned Region will be an EPolygonRegion as well.

Reimplemented from eVision.ERegion.

◆ Drag() [1/10]

new void eVision.EPolygonRegion.Drag ( int x,
int y )

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

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

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

◆ Drag() [2/10]

override void eVision.EPolygonRegion.Drag ( int x,
int y,
eVision.EFrame frame )
virtual

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

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame to transform coordinates with.

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

Reimplemented from eVision.ERegion.

◆ Drag() [3/10]

override void eVision.EPolygonRegion.Drag ( int x,
int y,
eVision.EFrame frame,
float zoomX )
virtual

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

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

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

Reimplemented from eVision.ERegion.

◆ Drag() [4/10]

override void eVision.EPolygonRegion.Drag ( int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY )
virtual

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

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

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

Reimplemented from eVision.ERegion.

◆ Drag() [5/10]

override void eVision.EPolygonRegion.Drag ( int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX )
virtual

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

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame to transform coordinates with.
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.

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

Reimplemented from eVision.ERegion.

◆ Drag() [6/10]

override void eVision.EPolygonRegion.Drag ( int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX,
float panY )
virtual

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

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame to transform coordinates with.
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.

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

Reimplemented from eVision.ERegion.

◆ Drag() [7/10]

new void eVision.EPolygonRegion.Drag ( int x,
int y,
float zoomX )

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

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

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

◆ Drag() [8/10]

new void eVision.EPolygonRegion.Drag ( int x,
int y,
float zoomX,
float zoomY )

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

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.

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

◆ Drag() [9/10]

new void eVision.EPolygonRegion.Drag ( 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.

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.

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

◆ Drag() [10/10]

new void eVision.EPolygonRegion.Drag ( 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.

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.

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

◆ Draw() [1/46]

new void eVision.EPolygonRegion.Draw ( eVision.EDrawAdapter drawAdapter)

Draws the EPolygonRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).

◆ Draw() [2/46]

new void eVision.EPolygonRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame )

Draws the EPolygonRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame on which to draw the shape.

◆ Draw() [3/46]

new void eVision.EPolygonRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
eVision.ERGBColor color )

Draws the EPolygonRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame on which to draw the shape.
colorThe color in which to draw the EPolygonRegion.

◆ Draw() [4/46]

new void eVision.EPolygonRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
eVision.ERGBColor color,
float opacity )

Draws the EPolygonRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame on which to draw the shape.
colorThe color in which to draw the EPolygonRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).

◆ Draw() [5/46]

new void eVision.EPolygonRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
eVision.ERGBColor color,
float opacity,
float zoomX )

Draws the EPolygonRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame on which to draw the shape.
colorThe color in which to draw the EPolygonRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.

◆ Draw() [6/46]

new void eVision.EPolygonRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY )

Draws the EPolygonRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame on which to draw the shape.
colorThe color in which to draw the EPolygonRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
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() [7/46]

new void eVision.EPolygonRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY,
float panX )

Draws the EPolygonRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame on which to draw the shape.
colorThe color in which to draw the EPolygonRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
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() [8/46]

new void eVision.EPolygonRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the EPolygonRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame on which to draw the shape.
colorThe color in which to draw the EPolygonRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
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() [9/46]

new void eVision.EPolygonRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
float zoomX )

Draws the EPolygonRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame on which to draw the shape.
zoomXHorizontal zooming factor. By default, true scale is used.

◆ Draw() [10/46]

new void eVision.EPolygonRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
float zoomX,
float zoomY )

Draws the EPolygonRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame on which to draw the shape.
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() [11/46]

new void eVision.EPolygonRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX )

Draws the EPolygonRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame on which to draw the shape.
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() [12/46]

new void eVision.EPolygonRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the EPolygonRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame on which to draw the shape.
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() [13/46]

new void eVision.EPolygonRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.ERGBColor color )

Draws the EPolygonRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
colorThe color in which to draw the EPolygonRegion.

◆ Draw() [14/46]

new void eVision.EPolygonRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.ERGBColor color,
float opacity )

Draws the EPolygonRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
colorThe color in which to draw the EPolygonRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).

◆ Draw() [15/46]

new void eVision.EPolygonRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.ERGBColor color,
float opacity,
float zoomX )

Draws the EPolygonRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
colorThe color in which to draw the EPolygonRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.

◆ Draw() [16/46]

new void eVision.EPolygonRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY )

Draws the EPolygonRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
colorThe color in which to draw the EPolygonRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
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() [17/46]

new void eVision.EPolygonRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY,
float panX )

Draws the EPolygonRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
colorThe color in which to draw the EPolygonRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
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() [18/46]

new void eVision.EPolygonRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the EPolygonRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
colorThe color in which to draw the EPolygonRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
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() [19/46]

new void eVision.EPolygonRegion.Draw ( eVision.EDrawAdapter drawAdapter,
float zoomX )

Draws the EPolygonRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
zoomXHorizontal zooming factor. By default, true scale is used.

◆ Draw() [20/46]

new void eVision.EPolygonRegion.Draw ( eVision.EDrawAdapter drawAdapter,
float zoomX,
float zoomY )

Draws the EPolygonRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
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() [21/46]

new void eVision.EPolygonRegion.Draw ( eVision.EDrawAdapter drawAdapter,
float zoomX,
float zoomY,
float panX )

Draws the EPolygonRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
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() [22/46]

new void eVision.EPolygonRegion.Draw ( eVision.EDrawAdapter drawAdapter,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the EPolygonRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
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() [23/46]

new void eVision.EPolygonRegion.Draw ( IntPtr graphicContext)

Draws the EPolygonRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.

◆ Draw() [24/46]

new void eVision.EPolygonRegion.Draw ( IntPtr graphicContext,
eVision.ERGBColor color )

Draws the EPolygonRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the EPolygonRegion.

◆ Draw() [25/46]

new void eVision.EPolygonRegion.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
float opacity )

Draws the EPolygonRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the EPolygonRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).

◆ Draw() [26/46]

new void eVision.EPolygonRegion.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
float opacity,
float zoomX )

Draws the EPolygonRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the EPolygonRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.

◆ Draw() [27/46]

new void eVision.EPolygonRegion.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY )

Draws the EPolygonRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the EPolygonRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
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() [28/46]

new void eVision.EPolygonRegion.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY,
float panX )

Draws the EPolygonRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the EPolygonRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
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() [29/46]

new void eVision.EPolygonRegion.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the EPolygonRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the EPolygonRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
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() [30/46]

new void eVision.EPolygonRegion.Draw ( IntPtr graphicContext,
float opacity )

Draws the EPolygonRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).

◆ Draw() [31/46]

new void eVision.EPolygonRegion.Draw ( IntPtr graphicContext,
float opacity,
float zoomX )

Draws the EPolygonRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.

◆ Draw() [32/46]

new void eVision.EPolygonRegion.Draw ( IntPtr graphicContext,
float opacity,
float zoomX,
float zoomY )

Draws the EPolygonRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
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() [33/46]

new void eVision.EPolygonRegion.Draw ( IntPtr graphicContext,
float opacity,
float zoomX,
float zoomY,
float panX )

Draws the EPolygonRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
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() [34/46]

new void eVision.EPolygonRegion.Draw ( IntPtr graphicContext,
float opacity,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the EPolygonRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
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() [35/46]

new void eVision.EPolygonRegion.Draw ( System.Drawing.Graphics graphicContext)

Draws the EPolygonRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.

◆ Draw() [36/46]

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

Draws the EPolygonRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the EPolygonRegion.

◆ Draw() [37/46]

new void eVision.EPolygonRegion.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
float opacity )

Draws the EPolygonRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the EPolygonRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).

◆ Draw() [38/46]

new void eVision.EPolygonRegion.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
float opacity,
float zoomX )

Draws the EPolygonRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the EPolygonRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.

◆ Draw() [39/46]

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

Draws the EPolygonRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the EPolygonRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
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() [40/46]

new void eVision.EPolygonRegion.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY,
float panX )

Draws the EPolygonRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the EPolygonRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
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() [41/46]

new void eVision.EPolygonRegion.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the EPolygonRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the EPolygonRegion.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
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() [42/46]

new void eVision.EPolygonRegion.Draw ( System.Drawing.Graphics graphicContext,
float opacity )

Draws the EPolygonRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).

◆ Draw() [43/46]

new void eVision.EPolygonRegion.Draw ( System.Drawing.Graphics graphicContext,
float opacity,
float zoomX )

Draws the EPolygonRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
zoomXHorizontal zooming factor. By default, true scale is used.

◆ Draw() [44/46]

new void eVision.EPolygonRegion.Draw ( System.Drawing.Graphics graphicContext,
float opacity,
float zoomX,
float zoomY )

Draws the EPolygonRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
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() [45/46]

new void eVision.EPolygonRegion.Draw ( System.Drawing.Graphics graphicContext,
float opacity,
float zoomX,
float zoomY,
float panX )

Draws the EPolygonRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
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() [46/46]

new void eVision.EPolygonRegion.Draw ( System.Drawing.Graphics graphicContext,
float opacity,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the EPolygonRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
opacityOpacity of the drawn area (range: 0.0 to 1.0).
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.

◆ HitTest() [1/10]

new eVision.EEditionMode eVision.EPolygonRegion.HitTest ( int x,
int y )

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

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

Returns a handle identifier, as defined by EEditionMode.

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

◆ HitTest() [2/10]

override eVision.EEditionMode eVision.EPolygonRegion.HitTest ( int x,
int y,
eVision.EFrame frame )
virtual

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

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame to transform coordinates with.

Returns a handle identifier, as defined by EEditionMode.

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

Reimplemented from eVision.ERegion.

◆ HitTest() [3/10]

override eVision.EEditionMode eVision.EPolygonRegion.HitTest ( int x,
int y,
eVision.EFrame frame,
float zoomX )
virtual

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

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

Returns a handle identifier, as defined by EEditionMode.

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

Reimplemented from eVision.ERegion.

◆ HitTest() [4/10]

override eVision.EEditionMode eVision.EPolygonRegion.HitTest ( int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY )
virtual

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

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

Returns a handle identifier, as defined by EEditionMode.

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

Reimplemented from eVision.ERegion.

◆ HitTest() [5/10]

override eVision.EEditionMode eVision.EPolygonRegion.HitTest ( int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX )
virtual

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

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame to transform coordinates with.
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.

Returns a handle identifier, as defined by EEditionMode.

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

Reimplemented from eVision.ERegion.

◆ HitTest() [6/10]

override eVision.EEditionMode eVision.EPolygonRegion.HitTest ( int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX,
float panY )
virtual

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

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame to transform coordinates with.
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.

Returns a handle identifier, as defined by EEditionMode.

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

Reimplemented from eVision.ERegion.

◆ HitTest() [7/10]

new eVision.EEditionMode eVision.EPolygonRegion.HitTest ( int x,
int y,
float zoomX )

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

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

Returns a handle identifier, as defined by EEditionMode.

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

◆ HitTest() [8/10]

new eVision.EEditionMode eVision.EPolygonRegion.HitTest ( int x,
int y,
float zoomX,
float zoomY )

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

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.

Returns a handle identifier, as defined by EEditionMode.

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

◆ HitTest() [9/10]

new eVision.EEditionMode eVision.EPolygonRegion.HitTest ( int x,
int y,
float zoomX,
float zoomY,
float panX )

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

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.

Returns a handle identifier, as defined by EEditionMode.

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

◆ HitTest() [10/10]

new eVision.EEditionMode eVision.EPolygonRegion.HitTest ( int x,
int y,
float zoomX,
float zoomY,
float panX,
float panY )

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

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.

Returns a handle identifier, as defined by EEditionMode.

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

◆ InsertPoint() [1/10]

bool eVision.EPolygonRegion.InsertPoint ( int x,
int y )

Insert a vertice between two existing ones.

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

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

◆ InsertPoint() [2/10]

bool eVision.EPolygonRegion.InsertPoint ( int x,
int y,
eVision.EFrame frame )

Insert a vertice between two existing ones.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame in which the polygon is drawn.

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

◆ InsertPoint() [3/10]

bool eVision.EPolygonRegion.InsertPoint ( int x,
int y,
eVision.EFrame frame,
float zoomX )

Insert a vertice between two existing ones.

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

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

◆ InsertPoint() [4/10]

bool eVision.EPolygonRegion.InsertPoint ( int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY )

Insert a vertice between two existing ones.

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

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

◆ InsertPoint() [5/10]

bool eVision.EPolygonRegion.InsertPoint ( int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX )

Insert a vertice between two existing ones.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame in which the polygon is drawn.
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.

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

◆ InsertPoint() [6/10]

bool eVision.EPolygonRegion.InsertPoint ( int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX,
float panY )

Insert a vertice between two existing ones.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame in which the polygon is drawn.
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.

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

◆ InsertPoint() [7/10]

bool eVision.EPolygonRegion.InsertPoint ( int x,
int y,
float zoomX )

Insert a vertice between two existing ones.

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

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

◆ InsertPoint() [8/10]

bool eVision.EPolygonRegion.InsertPoint ( int x,
int y,
float zoomX,
float zoomY )

Insert a vertice between two existing ones.

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.

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

◆ InsertPoint() [9/10]

bool eVision.EPolygonRegion.InsertPoint ( int x,
int y,
float zoomX,
float zoomY,
float panX )

Insert a vertice between two existing ones.

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.

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

◆ InsertPoint() [10/10]

bool eVision.EPolygonRegion.InsertPoint ( int x,
int y,
float zoomX,
float zoomY,
float panX,
float panY )

Insert a vertice between two existing ones.

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.

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

◆ Load() [1/2]

override void eVision.EPolygonRegion.Load ( eVision.ESerializer serializer)
virtual

Loads the EPolygonRegion. The given ESerializer must have been created for reading.

Parameters
serializerThe serializer.

Reimplemented from eVision.ERegion.

◆ Load() [2/2]

override void eVision.EPolygonRegion.Load ( string path)
virtual

Loads the EPolygonRegion. The given ESerializer must have been created for reading.

Parameters
pathThe file path.

Reimplemented from eVision.ERegion.

◆ RemovePoint() [1/10]

bool eVision.EPolygonRegion.RemovePoint ( int x,
int y )

Remove a vertex.

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

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

◆ RemovePoint() [2/10]

bool eVision.EPolygonRegion.RemovePoint ( int x,
int y,
eVision.EFrame frame )

Remove a vertex.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame in which the polygon is drawn.

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

◆ RemovePoint() [3/10]

bool eVision.EPolygonRegion.RemovePoint ( int x,
int y,
eVision.EFrame frame,
float zoomX )

Remove a vertex.

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

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

◆ RemovePoint() [4/10]

bool eVision.EPolygonRegion.RemovePoint ( int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY )

Remove a vertex.

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

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

◆ RemovePoint() [5/10]

bool eVision.EPolygonRegion.RemovePoint ( int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX )

Remove a vertex.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame in which the polygon is drawn.
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.

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

◆ RemovePoint() [6/10]

bool eVision.EPolygonRegion.RemovePoint ( int x,
int y,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX,
float panY )

Remove a vertex.

Parameters
xx-coordinate of the mouse cursor.
yy-coordinate of the mouse cursor.
frameFrame in which the polygon is drawn.
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.

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

◆ RemovePoint() [7/10]

bool eVision.EPolygonRegion.RemovePoint ( int x,
int y,
float zoomX )

Remove a vertex.

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

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

◆ RemovePoint() [8/10]

bool eVision.EPolygonRegion.RemovePoint ( int x,
int y,
float zoomX,
float zoomY )

Remove a vertex.

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.

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

◆ RemovePoint() [9/10]

bool eVision.EPolygonRegion.RemovePoint ( int x,
int y,
float zoomX,
float zoomY,
float panX )

Remove a vertex.

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.

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

◆ RemovePoint() [10/10]

bool eVision.EPolygonRegion.RemovePoint ( int x,
int y,
float zoomX,
float zoomY,
float panX,
float panY )

Remove a vertex.

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.

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

◆ Rotate()

override eVision.ERegion eVision.EPolygonRegion.Rotate ( float angle)
virtual

Creates a new region by rotating the EPolygonRegion around its center.

Parameters
anglerotation angle

Reimplemented from eVision.ERegion.

◆ Save() [1/2]

override void eVision.EPolygonRegion.Save ( eVision.ESerializer serializer)
virtual

Saves the EPolygonRegion. The given ESerializer must have been created for writing.

Parameters
serializerThe ESerializer object that is written to.

Reimplemented from eVision.ERegion.

◆ Save() [2/2]

override void eVision.EPolygonRegion.Save ( string path)
virtual

Saves the EPolygonRegion. The given ESerializer must have been created for writing.

Parameters
pathThe file path.

Reimplemented from eVision.ERegion.

◆ Scale() [1/2]

override eVision.ERegion eVision.EPolygonRegion.Scale ( float scale)
virtual

Creates a new region by scaling the EPolygonRegion. The center of the EPolygonRegion remains at the same place.

Parameters
scaleIsotropic scale

Reimplemented from eVision.ERegion.

◆ Scale() [2/2]

override eVision.ERegion eVision.EPolygonRegion.Scale ( float scaleX,
float scaleY )
virtual

Creates a new region by scaling the EPolygonRegion. The center of the EPolygonRegion remains at the same place.

Parameters
scaleXHorizontal scale
scaleYVertical scale

Reimplemented from eVision.ERegion.

◆ Transform()

override eVision.ERegion eVision.EPolygonRegion.Transform ( float scaleX,
float scaleY,
float angle,
float dx,
float dy )
virtual

Creates a new EPolygonRegion by scaling, rotating and then translating the EPolygonRegion.

Parameters
scaleXx component of the scaling factor applied to the region.
scaleYy component of the scaling factor applied to the region.
anglerotation angle applied to the region.
dxx component of the translation vector.
dyy component of the translation vector.

Reimplemented from eVision.ERegion.

◆ Translate()

override eVision.ERegion eVision.EPolygonRegion.Translate ( float dx,
float dy )
virtual

Creates a new region by translating the EPolygonRegion.

Parameters
dxHorizontal translation in pixel value
dyVertical translation in pixel value

Reimplemented from eVision.ERegion.

Property Documentation

◆ AvailableEditionModes

override eVision.EEditionMode eVision.EPolygonRegion.AvailableEditionModes
get

Returns all possible edition modes of the region.

◆ NumPoints

int eVision.EPolygonRegion.NumPoints
get

Number of vertices of the region.

◆ Points

eVision.EPoint [] eVision.EPolygonRegion.Points
getset

List of vertices of the region.