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

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

Inheritance diagram for eVision.ERectangleRegion:
Collaboration diagram for eVision.ERectangleRegion:

Public Member Functions

 ERectangleRegion ()
 Constructs an ERectangleRegion context.
 ERectangleRegion (float originX, float originY, float width, float height)
 Constructs an ERectangleRegion context.
 ERectangleRegion (eVision.EPoint origin, float width, float height)
 Constructs an ERectangleRegion context.
 ERectangleRegion (float centerX, float centerY, float width, float height, float angle)
 Constructs an ERectangleRegion context.
 ERectangleRegion (eVision.EPoint center, float width, float height, float angle)
 Constructs an ERectangleRegion context.
 ERectangleRegion (eVision.ERectangle rectangle)
 Constructs an ERectangleRegion context.
 ERectangleRegion (eVision.ERectangleRegion other)
 Constructs an ERectangleRegion context.
override eVision.ERegion Translate (float dx, float dy)
 Creates a new region by translating the ERectangleRegion.
override eVision.ERegion Scale (float scale)
 Creates a new region by scaling the ERectangleRegion. The center of the ERectangleRegion remains at the same place.
override eVision.ERegion Scale (float scaleX, float scaleY)
 Creates a new region by scaling the ERectangleRegion. The center of the ERectangleRegion remains at the same place.
override eVision.ERegion Rotate (float angle)
 Creates a new region by rotating the ERectangleRegion around its center.
override eVision.ERegion Transform (float scaleX, float scaleY, float angle, float dx, float dy)
 Creates a new ERectangleRegion by scaling, rotating and then translating the ERectangleRegion.
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.
override bool IsPointInRegion (eVision.EPoint point)
 Checks if a point is inside the rasterized region.
override void Load (string path)
 Loads the ERectangleRegion. The given ESerializer must have been created for reading.
override void Load (eVision.ESerializer serializer)
 Loads the ERectangleRegion. The given ESerializer must have been created for reading.
override void Save (string path)
 Saves the ERectangleRegion. The given ESerializer must have been created for writing.
override void Save (eVision.ESerializer serializer)
 Saves the ERectangleRegion. The given ESerializer must have been created for writing.
override eVision.ERegion Clone ()
 Clones the ERegion, the cloned Region will be an ERectangleRegion 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 ERectangleRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Draws the ERectangleRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX, float zoomY)
 Draws the ERectangleRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, float zoomX)
 Draws the ERectangleRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame)
 Draws the ERectangleRegion 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 ERectangleRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX)
 Draws the ERectangleRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity, float zoomX, float zoomY)
 Draws the ERectangleRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity, float zoomX)
 Draws the ERectangleRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color, float opacity)
 Draws the ERectangleRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.EFrame frame, eVision.ERGBColor color)
 Draws the ERectangleRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY, float panX, float panY)
 Draws the ERectangleRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY, float panX)
 Draws the ERectangleRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, float zoomX, float zoomY)
 Draws the ERectangleRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, float zoomX)
 Draws the ERectangleRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter)
 Draws the ERectangleRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the ERectangleRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX)
 Draws the ERectangleRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color, float opacity, float zoomX, float zoomY)
 Draws the ERectangleRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color, float opacity, float zoomX)
 Draws the ERectangleRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color, float opacity)
 Draws the ERectangleRegion shape.
new void Draw (eVision.EDrawAdapter drawAdapter, eVision.ERGBColor color)
 Draws the ERectangleRegion shape.
new void Draw (IntPtr graphicContext, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the ERectangleRegion shape.
new void Draw (IntPtr graphicContext, float opacity, float zoomX, float zoomY, float panX)
 Draws the ERectangleRegion shape.
new void Draw (IntPtr graphicContext, float opacity, float zoomX, float zoomY)
 Draws the ERectangleRegion shape.
new void Draw (IntPtr graphicContext, float opacity, float zoomX)
 Draws the ERectangleRegion shape.
new void Draw (IntPtr graphicContext, float opacity)
 Draws the ERectangleRegion shape.
new void Draw (IntPtr graphicContext)
 Draws the ERectangleRegion shape.
new void Draw (IntPtr graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the ERectangleRegion shape.
new void Draw (IntPtr graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX)
 Draws the ERectangleRegion shape.
new void Draw (IntPtr graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY)
 Draws the ERectangleRegion shape.
new void Draw (IntPtr graphicContext, eVision.ERGBColor color, float opacity, float zoomX)
 Draws the ERectangleRegion shape.
new void Draw (IntPtr graphicContext, eVision.ERGBColor color, float opacity)
 Draws the ERectangleRegion shape.
new void Draw (IntPtr graphicContext, eVision.ERGBColor color)
 Draws the ERectangleRegion shape.
new void Draw (System.Drawing.Graphics graphicContext, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the ERectangleRegion shape.
new void Draw (System.Drawing.Graphics graphicContext, float opacity, float zoomX, float zoomY, float panX)
 Draws the ERectangleRegion shape.
new void Draw (System.Drawing.Graphics graphicContext, float opacity, float zoomX, float zoomY)
 Draws the ERectangleRegion shape.
new void Draw (System.Drawing.Graphics graphicContext, float opacity, float zoomX)
 Draws the ERectangleRegion shape.
new void Draw (System.Drawing.Graphics graphicContext, float opacity)
 Draws the ERectangleRegion shape.
new void Draw (System.Drawing.Graphics graphicContext)
 Draws the ERectangleRegion shape.
new void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX, float panY)
 Draws the ERectangleRegion shape.
new void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY, float panX)
 Draws the ERectangleRegion shape.
new void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float opacity, float zoomX, float zoomY)
 Draws the ERectangleRegion shape.
new void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float opacity, float zoomX)
 Draws the ERectangleRegion shape.
new void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color, float opacity)
 Draws the ERectangleRegion shape.
new void Draw (System.Drawing.Graphics graphicContext, eVision.ERGBColor color)
 Draws the ERectangleRegion 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.
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 Center [get, set]
 Center of the region.
float Width [get, set]
 Width of the region.
float Height [get, set]
 Height of the region.
float Angle [get, set]
 Angle of the region.
eVision.EPoint[] Corners [get]
 Corners 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 rectangle.

License(s): BasicTypes

Constructor & Destructor Documentation

◆ ERectangleRegion() [1/7]

eVision.ERectangleRegion.ERectangleRegion ( )

Constructs an ERectangleRegion context.

A ERectangleRegion aligned with the image axes is defined from the top left corner. Otherwise, an oriented ERectangleRegion is defined from its center point.

◆ ERectangleRegion() [2/7]

eVision.ERectangleRegion.ERectangleRegion ( float originX,
float originY,
float width,
float height )

Constructs an ERectangleRegion context.

Parameters
originXThe abscissa of the ERectangleRegion's top left corner.
originYThe ordinate of the ERectangleRegion's top left corner.
widthThe width of the ERectangleRegion.
heightThe height of the ERectangleRegion.

A ERectangleRegion aligned with the image axes is defined from the top left corner. Otherwise, an oriented ERectangleRegion is defined from its center point.

◆ ERectangleRegion() [3/7]

eVision.ERectangleRegion.ERectangleRegion ( eVision.EPoint origin,
float width,
float height )

Constructs an ERectangleRegion context.

Parameters
originThe top left corner of the ERectangleRegion.
widthThe width of the ERectangleRegion.
heightThe height of the ERectangleRegion.

A ERectangleRegion aligned with the image axes is defined from the top left corner. Otherwise, an oriented ERectangleRegion is defined from its center point.

◆ ERectangleRegion() [4/7]

eVision.ERectangleRegion.ERectangleRegion ( float centerX,
float centerY,
float width,
float height,
float angle )

Constructs an ERectangleRegion context.

Parameters
centerXThe abscissa of the ERectangleRegion center.
centerYThe ordinate of the ERectangleRegion center.
widthThe width of the ERectangleRegion.
heightThe height of the ERectangleRegion.
angleThe angle of the ERectangleRegion.

A ERectangleRegion aligned with the image axes is defined from the top left corner. Otherwise, an oriented ERectangleRegion is defined from its center point.

◆ ERectangleRegion() [5/7]

eVision.ERectangleRegion.ERectangleRegion ( eVision.EPoint center,
float width,
float height,
float angle )

Constructs an ERectangleRegion context.

Parameters
centerThe center of the ERectangleRegion.
widthThe width of the ERectangleRegion.
heightThe height of the ERectangleRegion.
angleThe angle of the ERectangleRegion.

A ERectangleRegion aligned with the image axes is defined from the top left corner. Otherwise, an oriented ERectangleRegion is defined from its center point.

◆ ERectangleRegion() [6/7]

eVision.ERectangleRegion.ERectangleRegion ( eVision.ERectangle rectangle)

Constructs an ERectangleRegion context.

Parameters
rectangleThe result of an ERectangleGauge object.

A ERectangleRegion aligned with the image axes is defined from the top left corner. Otherwise, an oriented ERectangleRegion is defined from its center point.

◆ ERectangleRegion() [7/7]

eVision.ERectangleRegion.ERectangleRegion ( eVision.ERectangleRegion other)

Constructs an ERectangleRegion context.

Parameters
otherERectangleRegion context to copy.

A ERectangleRegion aligned with the image axes is defined from the top left corner. Otherwise, an oriented ERectangleRegion is defined from its center point.

Member Function Documentation

◆ Clone()

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

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

Reimplemented from eVision.ERegion.

◆ Drag() [1/10]

new void eVision.ERectangleRegion.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 ERectangleRegion.HitTest and ERectangleRegion.Drag.

◆ Drag() [2/10]

override void eVision.ERectangleRegion.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 ERectangleRegion.HitTest and ERectangleRegion.Drag.

Reimplemented from eVision.ERegion.

◆ Drag() [3/10]

override void eVision.ERectangleRegion.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 ERectangleRegion.HitTest and ERectangleRegion.Drag.

Reimplemented from eVision.ERegion.

◆ Drag() [4/10]

override void eVision.ERectangleRegion.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 ERectangleRegion.HitTest and ERectangleRegion.Drag.

Reimplemented from eVision.ERegion.

◆ Drag() [5/10]

override void eVision.ERectangleRegion.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 ERectangleRegion.HitTest and ERectangleRegion.Drag.

Reimplemented from eVision.ERegion.

◆ Drag() [6/10]

override void eVision.ERectangleRegion.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 ERectangleRegion.HitTest and ERectangleRegion.Drag.

Reimplemented from eVision.ERegion.

◆ Drag() [7/10]

new void eVision.ERectangleRegion.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 ERectangleRegion.HitTest and ERectangleRegion.Drag.

◆ Drag() [8/10]

new void eVision.ERectangleRegion.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 ERectangleRegion.HitTest and ERectangleRegion.Drag.

◆ Drag() [9/10]

new void eVision.ERectangleRegion.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 ERectangleRegion.HitTest and ERectangleRegion.Drag.

◆ Drag() [10/10]

new void eVision.ERectangleRegion.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 ERectangleRegion.HitTest and ERectangleRegion.Drag.

◆ Draw() [1/46]

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

Draws the ERectangleRegion shape.

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

◆ Draw() [2/46]

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

Draws the ERectangleRegion shape.

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

◆ Draw() [3/46]

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

Draws the ERectangleRegion shape.

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

◆ Draw() [4/46]

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

Draws the ERectangleRegion shape.

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

◆ Draw() [5/46]

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

Draws the ERectangleRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame on which to draw the shape.
colorThe color in which to draw the ERectangleRegion.
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.ERectangleRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY )

Draws the ERectangleRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame on which to draw the shape.
colorThe color in which to draw the ERectangleRegion.
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.ERectangleRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY,
float panX )

Draws the ERectangleRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame on which to draw the shape.
colorThe color in which to draw the ERectangleRegion.
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.ERectangleRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the ERectangleRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
frameFrame on which to draw the shape.
colorThe color in which to draw the ERectangleRegion.
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.ERectangleRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
float zoomX )

Draws the ERectangleRegion 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.ERectangleRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
float zoomX,
float zoomY )

Draws the ERectangleRegion 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.ERectangleRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX )

Draws the ERectangleRegion 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.ERectangleRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the ERectangleRegion 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.ERectangleRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.ERGBColor color )

Draws the ERectangleRegion shape.

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

◆ Draw() [14/46]

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

Draws the ERectangleRegion shape.

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

◆ Draw() [15/46]

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

Draws the ERectangleRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
colorThe color in which to draw the ERectangleRegion.
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.ERectangleRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY )

Draws the ERectangleRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
colorThe color in which to draw the ERectangleRegion.
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.ERectangleRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY,
float panX )

Draws the ERectangleRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
colorThe color in which to draw the ERectangleRegion.
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.ERectangleRegion.Draw ( eVision.EDrawAdapter drawAdapter,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the ERectangleRegion shape.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the EWindowsDrawAdapter).
colorThe color in which to draw the ERectangleRegion.
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.ERectangleRegion.Draw ( eVision.EDrawAdapter drawAdapter,
float zoomX )

Draws the ERectangleRegion 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.ERectangleRegion.Draw ( eVision.EDrawAdapter drawAdapter,
float zoomX,
float zoomY )

Draws the ERectangleRegion 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.ERectangleRegion.Draw ( eVision.EDrawAdapter drawAdapter,
float zoomX,
float zoomY,
float panX )

Draws the ERectangleRegion 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.ERectangleRegion.Draw ( eVision.EDrawAdapter drawAdapter,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the ERectangleRegion 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.ERectangleRegion.Draw ( IntPtr graphicContext)

Draws the ERectangleRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.

◆ Draw() [24/46]

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

Draws the ERectangleRegion shape.

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

◆ Draw() [25/46]

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

Draws the ERectangleRegion shape.

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

◆ Draw() [26/46]

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

Draws the ERectangleRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERectangleRegion.
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.ERectangleRegion.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY )

Draws the ERectangleRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERectangleRegion.
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.ERectangleRegion.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY,
float panX )

Draws the ERectangleRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERectangleRegion.
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.ERectangleRegion.Draw ( IntPtr graphicContext,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the ERectangleRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERectangleRegion.
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.ERectangleRegion.Draw ( IntPtr graphicContext,
float opacity )

Draws the ERectangleRegion 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.ERectangleRegion.Draw ( IntPtr graphicContext,
float opacity,
float zoomX )

Draws the ERectangleRegion 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.ERectangleRegion.Draw ( IntPtr graphicContext,
float opacity,
float zoomX,
float zoomY )

Draws the ERectangleRegion 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.ERectangleRegion.Draw ( IntPtr graphicContext,
float opacity,
float zoomX,
float zoomY,
float panX )

Draws the ERectangleRegion 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.ERectangleRegion.Draw ( IntPtr graphicContext,
float opacity,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the ERectangleRegion 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.ERectangleRegion.Draw ( System.Drawing.Graphics graphicContext)

Draws the ERectangleRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.

◆ Draw() [36/46]

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

Draws the ERectangleRegion shape.

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

◆ Draw() [37/46]

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

Draws the ERectangleRegion shape.

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

◆ Draw() [38/46]

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

Draws the ERectangleRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERectangleRegion.
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.ERectangleRegion.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY )

Draws the ERectangleRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERectangleRegion.
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.ERectangleRegion.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY,
float panX )

Draws the ERectangleRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERectangleRegion.
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.ERectangleRegion.Draw ( System.Drawing.Graphics graphicContext,
eVision.ERGBColor color,
float opacity,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the ERectangleRegion shape.

Parameters
graphicContextHandle of the device context on which to draw.
colorThe color in which to draw the ERectangleRegion.
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.ERectangleRegion.Draw ( System.Drawing.Graphics graphicContext,
float opacity )

Draws the ERectangleRegion 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.ERectangleRegion.Draw ( System.Drawing.Graphics graphicContext,
float opacity,
float zoomX )

Draws the ERectangleRegion 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.ERectangleRegion.Draw ( System.Drawing.Graphics graphicContext,
float opacity,
float zoomX,
float zoomY )

Draws the ERectangleRegion 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.ERectangleRegion.Draw ( System.Drawing.Graphics graphicContext,
float opacity,
float zoomX,
float zoomY,
float panX )

Draws the ERectangleRegion 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.ERectangleRegion.Draw ( System.Drawing.Graphics graphicContext,
float opacity,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the ERectangleRegion 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.ERectangleRegion.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 ERectangleRegion.HitTest and ERectangleRegion.Drag.

◆ HitTest() [2/10]

override eVision.EEditionMode eVision.ERectangleRegion.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 ERectangleRegion.HitTest and ERectangleRegion.Drag.

Reimplemented from eVision.ERegion.

◆ HitTest() [3/10]

override eVision.EEditionMode eVision.ERectangleRegion.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 ERectangleRegion.HitTest and ERectangleRegion.Drag.

Reimplemented from eVision.ERegion.

◆ HitTest() [4/10]

override eVision.EEditionMode eVision.ERectangleRegion.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 ERectangleRegion.HitTest and ERectangleRegion.Drag.

Reimplemented from eVision.ERegion.

◆ HitTest() [5/10]

override eVision.EEditionMode eVision.ERectangleRegion.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 ERectangleRegion.HitTest and ERectangleRegion.Drag.

Reimplemented from eVision.ERegion.

◆ HitTest() [6/10]

override eVision.EEditionMode eVision.ERectangleRegion.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 ERectangleRegion.HitTest and ERectangleRegion.Drag.

Reimplemented from eVision.ERegion.

◆ HitTest() [7/10]

new eVision.EEditionMode eVision.ERectangleRegion.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 ERectangleRegion.HitTest and ERectangleRegion.Drag.

◆ HitTest() [8/10]

new eVision.EEditionMode eVision.ERectangleRegion.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 ERectangleRegion.HitTest and ERectangleRegion.Drag.

◆ HitTest() [9/10]

new eVision.EEditionMode eVision.ERectangleRegion.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 ERectangleRegion.HitTest and ERectangleRegion.Drag.

◆ HitTest() [10/10]

new eVision.EEditionMode eVision.ERectangleRegion.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 ERectangleRegion.HitTest and ERectangleRegion.Drag.

◆ IsPointInRegion()

override bool eVision.ERectangleRegion.IsPointInRegion ( eVision.EPoint point)
virtual

Checks if a point is inside the rasterized region.

Parameters
pointThe point to check.

The coordinates of the point are floored to integer values and we check if they would be present in the rasterized region. This can have unexpected consequences, like (10, 10) not being contained in a ERectangleRegion of width/height 10 centered on (5.1, 5.1) but it guarantees the equivalence with successor classes.

Reimplemented from eVision.ERegion.

◆ Load() [1/2]

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

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

Parameters
serializerThe serializer.

Reimplemented from eVision.ERegion.

◆ Load() [2/2]

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

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

Parameters
pathThe file path.

Reimplemented from eVision.ERegion.

◆ Rotate()

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

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

Parameters
anglerotation angle

Reimplemented from eVision.ERegion.

◆ Save() [1/2]

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

Saves the ERectangleRegion. 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.ERectangleRegion.Save ( string path)
virtual

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

Parameters
pathThe file path.

Reimplemented from eVision.ERegion.

◆ Scale() [1/2]

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

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

Parameters
scaleIsotropic scale

For anisotropic scaling and a rectangle with an orientation not aligned with the axes, the returned region will not be a rectangle.

Reimplemented from eVision.ERegion.

◆ Scale() [2/2]

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

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

Parameters
scaleXHorizontal scale
scaleYVertical scale

For anisotropic scaling and a rectangle with an orientation not aligned with the axes, the returned region will not be a rectangle.

Reimplemented from eVision.ERegion.

◆ Transform()

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

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

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.ERectangleRegion.Translate ( float dx,
float dy )
virtual

Creates a new region by translating the ERectangleRegion.

Parameters
dxHorizontal translation in pixel value
dyVertical translation in pixel value

Reimplemented from eVision.ERegion.

Property Documentation

◆ Angle

float eVision.ERectangleRegion.Angle
getset

Angle of the region.

◆ AvailableEditionModes

override eVision.EEditionMode eVision.ERectangleRegion.AvailableEditionModes
get

Returns all possible edition modes of the region.

◆ Center

eVision.EPoint eVision.ERectangleRegion.Center
getset

Center of the region.

◆ Corners

eVision.EPoint [] eVision.ERectangleRegion.Corners
get

Corners of the region.

◆ Height

float eVision.ERectangleRegion.Height
getset

Height of the region.

◆ Width

float eVision.ERectangleRegion.Width
getset

Width of the region.