Draw adapter interface used for drawing eVision objects and results. More...

Public Member Functions | |
| None | DrawPoint (self, int x1, int y1, eVision.EPen pen) |
| Draws a point at the given coordinate. | |
| None | DrawPoint (self, int x1, int y1) |
| Draws a point at the given coordinate. | |
| None | Line (self, int x1, int y1, int x2, int y2, eVision.EPen pen) |
| Draws a line between two points. | |
| None | Line (self, int x1, int y1, int x2, int y2) |
| Draws a line between two points. | |
| None | Arc (self, int orgX, int orgY, int width, int height, float startAngle, float amplitude, eVision.EPen pen) |
| Draws an arc defined by a rectangle, angle, and amplitude. | |
| None | Arc (self, int orgX, int orgY, int width, int height, float startAngle, float amplitude) |
| Draws an arc defined by a rectangle, angle, and amplitude. | |
| None | Rectangle (self, int orgX, int orgY, int width, int height, eVision.EPen pen) |
| Draws a rectangle. | |
| None | Rectangle (self, int orgX, int orgY, int width, int height) |
| Draws a rectangle. | |
| None | Polygon (self, list[eVision._eVision.EPoint] points, eVision.EPen pen) |
| Draws a polygon. | |
| None | Polygon (self, list[eVision._eVision.EPoint] points) |
| Draws a polygon. | |
| None | Polygon (self, eVision.EPolygon polygon, eVision.EPen pen) |
| Draws a polygon. | |
| None | Polygon (self, eVision.EPolygon polygon) |
| Draws a polygon. | |
| None | Ellipse (self, int orgX, int orgY, int width, int height, eVision.EPen pen) |
| Draws an ellipse. | |
| None | Ellipse (self, int orgX, int orgY, int width, int height) |
| Draws an ellipse. | |
| None | Ellipse (self, eVision.EEllipse ellipse, eVision.EPen pen) |
| Draws an ellipse. | |
| None | Ellipse (self, eVision.EEllipse ellipse) |
| Draws an ellipse. | |
| None | RotatedEllipse (self, float centerX, float centerY, float radianAngle, float longAxis, float shortAxis, bool drawDiagonals, eVision.EPen pen) |
| Draws a rotated ellipse. | |
| None | RotatedEllipse (self, float centerX, float centerY, float radianAngle, float longAxis, float shortAxis, bool drawDiagonals) |
| Draws a rotated ellipse. | |
| None | RotatedEllipse (self, eVision.EEllipse ellipse, bool drawDiagonals, eVision.EPen pen) |
| Draws a rotated ellipse. | |
| None | RotatedEllipse (self, eVision.EEllipse ellipse, bool drawDiagonals) |
| Draws a rotated ellipse. | |
| None | FilledRectangle (self, int orgX, int orgY, int width, int height, eVision.EPen pen, eVision.EBrush brush) |
| Fills a rectangle. | |
| None | FilledRectangle (self, int orgX, int orgY, int width, int height, eVision.EPen pen) |
| Fills a rectangle. | |
| None | FilledRectangle (self, int orgX, int orgY, int width, int height) |
| Fills a rectangle. | |
| None | FilledEllipse (self, int orgX, int orgY, int width, int height, eVision.EPen pen, eVision.EBrush brush) |
| Fills an ellipse. | |
| None | FilledEllipse (self, int orgX, int orgY, int width, int height, eVision.EPen pen) |
| Fills an ellipse. | |
| None | FilledEllipse (self, int orgX, int orgY, int width, int height) |
| Fills an ellipse. | |
| None | FilledEllipse (self, eVision.EEllipse ellipse, eVision.EPen pen, eVision.EBrush brush) |
| Fills an ellipse. | |
| None | FilledEllipse (self, eVision.EEllipse ellipse, eVision.EPen pen) |
| Fills an ellipse. | |
| None | FilledEllipse (self, eVision.EEllipse ellipse) |
| Fills an ellipse. | |
| None | FilledRotatedEllipse (self, float centerX, float centerY, float radianAngle, float longAxis, float shortAxis, eVision.EPen pen, eVision.EBrush brush) |
| Fills a rotated ellipse. | |
| None | FilledRotatedEllipse (self, float centerX, float centerY, float radianAngle, float longAxis, float shortAxis, eVision.EPen pen) |
| Fills a rotated ellipse. | |
| None | FilledRotatedEllipse (self, float centerX, float centerY, float radianAngle, float longAxis, float shortAxis) |
| Fills a rotated ellipse. | |
| None | FilledRotatedEllipse (self, eVision.EEllipse ellipse, eVision.EPen pen, eVision.EBrush brush) |
| Fills a rotated ellipse. | |
| None | FilledRotatedEllipse (self, eVision.EEllipse ellipse, eVision.EPen pen) |
| Fills a rotated ellipse. | |
| None | FilledRotatedEllipse (self, eVision.EEllipse ellipse) |
| Fills a rotated ellipse. | |
| None | FilledPolygon (self, list[eVision._eVision.EPoint] points, eVision.EPen pen, eVision.EBrush brush) |
| Fills a polygon. | |
| None | FilledPolygon (self, list[eVision._eVision.EPoint] points, eVision.EPen pen) |
| Fills a polygon. | |
| None | FilledPolygon (self, list[eVision._eVision.EPoint] points) |
| Fills a polygon. | |
| None | FilledPolygon (self, eVision.EPolygon polygon, eVision.EPen pen, eVision.EBrush brush) |
| Fills a polygon. | |
| None | FilledPolygon (self, eVision.EPolygon polygon, eVision.EPen pen) |
| Fills a polygon. | |
| None | FilledPolygon (self, eVision.EPolygon polygon) |
| Fills a polygon. | |
| None | Text (self, str text, int x, int y, eVision.EBrush textBrush, eVision.ETextSizeConstraint constraint) |
| Draws a text. | |
| None | Text (self, str text, int x, int y, eVision.EBrush textBrush) |
| Draws a text. | |
| None | Text (self, str text, int x, int y) |
| Draws a text. | |
| None | Text (self, str text, int x, int y, float orientation, eVision.EBrush textBrush, eVision.ETextSizeConstraint constraint) |
| Draws a text. | |
| None | Text (self, str text, int x, int y, float orientation, eVision.EBrush textBrush) |
| Draws a text. | |
| None | Text (self, str text, int x, int y, float orientation) |
| Draws a text. | |
| None | BackedText (self, str text, int x, int y, eVision.EBrush textBrush, eVision.EBrush backgroundBrush, eVision.ETextSizeConstraint constraint) |
| Draws a text with a background. | |
| None | BackedText (self, str text, int x, int y, eVision.EBrush textBrush, eVision.EBrush backgroundBrush) |
| Draws a text with a background. | |
| None | BackedText (self, str text, int x, int y, eVision.EBrush textBrush) |
| Draws a text with a background. | |
| None | BackedText (self, str text, int x, int y) |
| Draws a text with a background. | |
| None | BackedText (self, str text, int x, int y, float orientation, eVision.EBrush textBrush, eVision.EBrush backgroundBrush, eVision.ETextSizeConstraint constraint) |
| Draws a text with a background. | |
| None | BackedText (self, str text, int x, int y, float orientation, eVision.EBrush textBrush, eVision.EBrush backgroundBrush) |
| Draws a text with a background. | |
| None | BackedText (self, str text, int x, int y, float orientation, eVision.EBrush textBrush) |
| Draws a text with a background. | |
| None | BackedText (self, str text, int x, int y, float orientation) |
| Draws a text with a background. | |
| None | Image (self, eVision.EBaseROI image) |
| Draws an image. | |
| None | Image (self, eVision.EROIBW8 image, eVision.EBW8Vector|None pColorScale) |
| Draws an image. | |
| None | Image (self, eVision.EROIBW8 image, eVision.EC24Vector|None pColorScale) |
| Draws an image. | |
| None | Image (self, eVision.EBaseROI image, float orgX, float orgY, float width, float height) |
| Draws an image. | |
| None | Image (self, eVision.EROIBW8 image, eVision.EC24Vector|None pColorScale, float orgX, float orgY, float width, float height) |
| Draws an image. | |
| None | Image (self, eVision.EROIBW8 image, eVision.EBW8Vector|None pColorScale, float orgX, float orgY, float width, float height) |
| Draws an image. | |
| None | DrawMask (self, eVision.EBaseROI mask, eVision.EBrush brush) |
| Draws a mask with a brush. | |
| None | DrawMask (self, eVision.EBaseROI mask) |
| Draws a mask with a brush. | |
| None | DrawMask (self, eVision.EBaseROI mask, float orgX, float orgY, float width, float height, eVision.EBrush brush) |
| Draws a mask with a brush. | |
| None | DrawMask (self, eVision.EBaseROI mask, float orgX, float orgY, float width, float height) |
| Draws a mask with a brush. | |
| eVision.EPoint | GetTextSize (self, str text) |
| Size of the given text using the default font (eVision.EDrawAdapter.Font). | |
| None | UseCurrentPen (self) |
| Use the current pen set in the drawing framework. | |
| None | UseCurrentBrush (self) |
| Use the current pen set in the drawing framework. | |
| int | ComputeTextSize (self, str text, int desiredWidth) |
| Computes text size for given constraint. | |
| eVision.EPen | Pen (self) |
| Default pen. | |
| Pen (self, eVision.EPen value) | |
| Default pen. | |
| eVision.EBrush | Brush (self) |
| Default brush. | |
| Brush (self, eVision.EBrush value) | |
| Default brush. | |
| eVision.EFont | Font (self) |
| Default font. | |
| Font (self, eVision.EFont value) | |
| Default font. | |
Draw adapter interface used for drawing eVision objects and results.
The interface contains various primitives to draw images and various shapes (line, rectangle, ellipse, polygon). It draws the contours of shapes using a eVision.EPen and fills the inside of a shape with a eVision.EBrush. It has a default pen (eVision.EDrawAdapter.Pen) and default brush (eVision.EDrawAdapter.Brush) but they can be overridden using the optional pen and brush arguments of shape primitives. If no default pen and brush are set and no optional pen and brush are specified when calling a shape primitives, the shape will not be drawn. For the "Fill" primitives, no pen will result in no contours being drawn around the shape and no brush is equivalent to the corresponding "Draw" primitive.
Remarks:
License(s): None
| None eVision.EDrawAdapter.Arc | ( | self, | |
| int | orgX, | ||
| int | orgY, | ||
| int | width, | ||
| int | height, | ||
| float | startAngle, | ||
| float | amplitude ) |
Draws an arc defined by a rectangle, angle, and amplitude.
| orgX | X origin of the rectangle |
| orgY | Y origin of the rectangle |
| width | Width of the rectangle |
| height | Height of the rectangle |
| startAngle | Starting angle of the arc in radians |
| amplitude | Amplitude of the arc in radians |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.Arc | ( | self, | |
| int | orgX, | ||
| int | orgY, | ||
| int | width, | ||
| int | height, | ||
| float | startAngle, | ||
| float | amplitude, | ||
| eVision.EPen | pen ) |
Draws an arc defined by a rectangle, angle, and amplitude.
| orgX | X origin of the rectangle |
| orgY | Y origin of the rectangle |
| width | Width of the rectangle |
| height | Height of the rectangle |
| startAngle | Starting angle of the arc in radians |
| amplitude | Amplitude of the arc in radians |
| pen | Optional pen to use |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.BackedText | ( | self, | |
| str | text, | ||
| int | x, | ||
| int | y ) |
Draws a text with a background.
Remarks:
If desiredWidth is greater than 0, current font size will be ignored and a new one will be temporally set so that the whole drawn text fills in desiredWidth pixels.
| text | Text to draw. |
| x | X position of the text. |
| y | Y position of the text. |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.BackedText | ( | self, | |
| str | text, | ||
| int | x, | ||
| int | y, | ||
| eVision.EBrush | textBrush ) |
Draws a text with a background.
Remarks:
If desiredWidth is greater than 0, current font size will be ignored and a new one will be temporally set so that the whole drawn text fills in desiredWidth pixels.
| text | Text to draw. |
| x | X position of the text. |
| y | Y position of the text. |
| textBrush | Optional brush to use for the color of the text. |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.BackedText | ( | self, | |
| str | text, | ||
| int | x, | ||
| int | y, | ||
| eVision.EBrush | textBrush, | ||
| eVision.EBrush | backgroundBrush ) |
Draws a text with a background.
Remarks:
If desiredWidth is greater than 0, current font size will be ignored and a new one will be temporally set so that the whole drawn text fills in desiredWidth pixels.
| text | Text to draw. |
| x | X position of the text. |
| y | Y position of the text. |
| textBrush | Optional brush to use for the color of the text. |
| backgroundBrush | Optional brush to use for the background. |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.BackedText | ( | self, | |
| str | text, | ||
| int | x, | ||
| int | y, | ||
| eVision.EBrush | textBrush, | ||
| eVision.EBrush | backgroundBrush, | ||
| eVision.ETextSizeConstraint | constraint ) |
Draws a text with a background.
Remarks:
If desiredWidth is greater than 0, current font size will be ignored and a new one will be temporally set so that the whole drawn text fills in desiredWidth pixels.
| text | Text to draw. |
| x | X position of the text. |
| y | Y position of the text. |
| textBrush | Optional brush to use for the color of the text. |
| backgroundBrush | Optional brush to use for the background. |
| constraint | Text size constraint. By default, no constraint is to be applied. |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.BackedText | ( | self, | |
| str | text, | ||
| int | x, | ||
| int | y, | ||
| float | orientation ) |
Draws a text with a background.
Remarks:
If desiredWidth is greater than 0, current font size will be ignored and a new one will be temporally set so that the whole drawn text fills in desiredWidth pixels.
| text | Text to draw. |
| x | X position of the text. |
| y | Y position of the text. |
| orientation | Orientation of the text in radians. |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.BackedText | ( | self, | |
| str | text, | ||
| int | x, | ||
| int | y, | ||
| float | orientation, | ||
| eVision.EBrush | textBrush ) |
Draws a text with a background.
Remarks:
If desiredWidth is greater than 0, current font size will be ignored and a new one will be temporally set so that the whole drawn text fills in desiredWidth pixels.
| text | Text to draw. |
| x | X position of the text. |
| y | Y position of the text. |
| orientation | Orientation of the text in radians. |
| textBrush | Optional brush to use for the color of the text. |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.BackedText | ( | self, | |
| str | text, | ||
| int | x, | ||
| int | y, | ||
| float | orientation, | ||
| eVision.EBrush | textBrush, | ||
| eVision.EBrush | backgroundBrush ) |
Draws a text with a background.
Remarks:
If desiredWidth is greater than 0, current font size will be ignored and a new one will be temporally set so that the whole drawn text fills in desiredWidth pixels.
| text | Text to draw. |
| x | X position of the text. |
| y | Y position of the text. |
| orientation | Orientation of the text in radians. |
| textBrush | Optional brush to use for the color of the text. |
| backgroundBrush | Optional brush to use for the background. |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.BackedText | ( | self, | |
| str | text, | ||
| int | x, | ||
| int | y, | ||
| float | orientation, | ||
| eVision.EBrush | textBrush, | ||
| eVision.EBrush | backgroundBrush, | ||
| eVision.ETextSizeConstraint | constraint ) |
Draws a text with a background.
Remarks:
If desiredWidth is greater than 0, current font size will be ignored and a new one will be temporally set so that the whole drawn text fills in desiredWidth pixels.
| text | Text to draw. |
| x | X position of the text. |
| y | Y position of the text. |
| orientation | Orientation of the text in radians. |
| textBrush | Optional brush to use for the color of the text. |
| backgroundBrush | Optional brush to use for the background. |
| constraint | Text size constraint. By default, no constraint is to be applied. |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| eVision.EBrush eVision.EDrawAdapter.Brush | ( | self | ) |
Default brush.
Reimplemented in eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| eVision.EDrawAdapter.Brush | ( | self, | |
| eVision.EBrush | value ) |
Default brush.
Reimplemented in eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| int eVision.EDrawAdapter.ComputeTextSize | ( | self, | |
| str | text, | ||
| int | desiredWidth ) |
Computes text size for given constraint.
Constraint is the desired total width of the text to draw.
| text | Text to measure before drawing. |
| desiredWidth | Width constraint. |
Reimplemented in eVision.EGenericDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.DrawMask | ( | self, | |
| eVision.EBaseROI | mask ) |
Draws a mask with a brush.
Remarks:
The type of the mask image must be BW8, BW16, or BW32.
The default implementation converts the mask into a eVision.EImageC24A image using the brush and draws this image.
| mask | Mask to draw |
| None eVision.EDrawAdapter.DrawMask | ( | self, | |
| eVision.EBaseROI | mask, | ||
| eVision.EBrush | brush ) |
Draws a mask with a brush.
Remarks:
The type of the mask image must be BW8, BW16, or BW32.
The default implementation converts the mask into a eVision.EImageC24A image using the brush and draws this image.
| mask | Mask to draw |
| brush | Brush to draw the mask with. |
| None eVision.EDrawAdapter.DrawMask | ( | self, | |
| eVision.EBaseROI | mask, | ||
| float | orgX, | ||
| float | orgY, | ||
| float | width, | ||
| float | height ) |
Draws a mask with a brush.
Remarks:
The type of the mask image must be BW8, BW16, or BW32.
The default implementation converts the mask into a eVision.EImageC24A image using the brush and draws this image.
| mask | Mask to draw |
| orgX | X coordinate of the point where to draw the image. |
| orgY | Y coordinate of the point where to draw the image. |
| width | Width of the destination rectangle in which to draw the image. |
| height | Height of the destination rectangle in which to draw the image. |
| None eVision.EDrawAdapter.DrawMask | ( | self, | |
| eVision.EBaseROI | mask, | ||
| float | orgX, | ||
| float | orgY, | ||
| float | width, | ||
| float | height, | ||
| eVision.EBrush | brush ) |
Draws a mask with a brush.
Remarks:
The type of the mask image must be BW8, BW16, or BW32.
The default implementation converts the mask into a eVision.EImageC24A image using the brush and draws this image.
| mask | Mask to draw |
| orgX | X coordinate of the point where to draw the image. |
| orgY | Y coordinate of the point where to draw the image. |
| width | Width of the destination rectangle in which to draw the image. |
| height | Height of the destination rectangle in which to draw the image. |
| brush | Brush to draw the mask with. |
| None eVision.EDrawAdapter.DrawPoint | ( | self, | |
| int | x1, | ||
| int | y1 ) |
Draws a point at the given coordinate.
| x1 | X coordinate |
| y1 | Y coordinate |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.DrawPoint | ( | self, | |
| int | x1, | ||
| int | y1, | ||
| eVision.EPen | pen ) |
Draws a point at the given coordinate.
| x1 | X coordinate |
| y1 | Y coordinate |
| pen | Optional pen to use |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.Ellipse | ( | self, | |
| eVision.EEllipse | ellipse ) |
Draws an ellipse.
Remarks:
This method only draws axis-aligned ellipses, if the given ellipse has an angle, it is ignored. To draw rotated ellipses, use eVision.EDrawAdapter.RotatedEllipse instead. An ellipse with full angular amplitude is always drawn.
| ellipse | the ellipse to be drawn (angle is ignored). |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.Ellipse | ( | self, | |
| eVision.EEllipse | ellipse, | ||
| eVision.EPen | pen ) |
Draws an ellipse.
Remarks:
This method only draws axis-aligned ellipses, if the given ellipse has an angle, it is ignored. To draw rotated ellipses, use eVision.EDrawAdapter.RotatedEllipse instead. An ellipse with full angular amplitude is always drawn.
| ellipse | the ellipse to be drawn (angle is ignored). |
| pen | Optional pen to use |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.Ellipse | ( | self, | |
| int | orgX, | ||
| int | orgY, | ||
| int | width, | ||
| int | height ) |
Draws an ellipse.
Remarks:
This method only draws axis-aligned ellipses, if the given ellipse has an angle, it is ignored. To draw rotated ellipses, use eVision.EDrawAdapter.RotatedEllipse instead. An ellipse with full angular amplitude is always drawn.
| orgX | X origin of the rectangle containing the ellipse |
| orgY | Y origin of the rectangle containing the ellipse |
| width | Width of the rectangle containing the ellipse |
| height | Height of the rectangle containing the ellipse |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.Ellipse | ( | self, | |
| int | orgX, | ||
| int | orgY, | ||
| int | width, | ||
| int | height, | ||
| eVision.EPen | pen ) |
Draws an ellipse.
Remarks:
This method only draws axis-aligned ellipses, if the given ellipse has an angle, it is ignored. To draw rotated ellipses, use eVision.EDrawAdapter.RotatedEllipse instead. An ellipse with full angular amplitude is always drawn.
| orgX | X origin of the rectangle containing the ellipse |
| orgY | Y origin of the rectangle containing the ellipse |
| width | Width of the rectangle containing the ellipse |
| height | Height of the rectangle containing the ellipse |
| pen | Optional pen to use |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.FilledEllipse | ( | self, | |
| eVision.EEllipse | ellipse ) |
Fills an ellipse.
Remarks:
This method only draws axis-aligned ellipses, if the given ellipse has an angle, it is ignored. To draw filled and rotated ellipses, use eVision.EDrawAdapter.FilledRotatedEllipse instead. An ellipse with full angular amplitude is always drawn.
| ellipse | the ellipse to be drawn. |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.FilledEllipse | ( | self, | |
| eVision.EEllipse | ellipse, | ||
| eVision.EPen | pen ) |
Fills an ellipse.
Remarks:
This method only draws axis-aligned ellipses, if the given ellipse has an angle, it is ignored. To draw filled and rotated ellipses, use eVision.EDrawAdapter.FilledRotatedEllipse instead. An ellipse with full angular amplitude is always drawn.
| ellipse | the ellipse to be drawn. |
| pen | Optional pen to use for drawing the contour of the ellipse |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.FilledEllipse | ( | self, | |
| eVision.EEllipse | ellipse, | ||
| eVision.EPen | pen, | ||
| eVision.EBrush | brush ) |
Fills an ellipse.
Remarks:
This method only draws axis-aligned ellipses, if the given ellipse has an angle, it is ignored. To draw filled and rotated ellipses, use eVision.EDrawAdapter.FilledRotatedEllipse instead. An ellipse with full angular amplitude is always drawn.
| ellipse | the ellipse to be drawn. |
| pen | Optional pen to use for drawing the contour of the ellipse |
| brush | Optional pen to use for drawing the inside of the ellipse |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.FilledEllipse | ( | self, | |
| int | orgX, | ||
| int | orgY, | ||
| int | width, | ||
| int | height ) |
Fills an ellipse.
Remarks:
This method only draws axis-aligned ellipses, if the given ellipse has an angle, it is ignored. To draw filled and rotated ellipses, use eVision.EDrawAdapter.FilledRotatedEllipse instead. An ellipse with full angular amplitude is always drawn.
| orgX | X origin of the rectangle containing the ellipse |
| orgY | Y origin of the rectangle containing the ellipse |
| width | Width of the rectangle containing the ellipse |
| height | Height of the rectangle containing the ellipse |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.FilledEllipse | ( | self, | |
| int | orgX, | ||
| int | orgY, | ||
| int | width, | ||
| int | height, | ||
| eVision.EPen | pen ) |
Fills an ellipse.
Remarks:
This method only draws axis-aligned ellipses, if the given ellipse has an angle, it is ignored. To draw filled and rotated ellipses, use eVision.EDrawAdapter.FilledRotatedEllipse instead. An ellipse with full angular amplitude is always drawn.
| orgX | X origin of the rectangle containing the ellipse |
| orgY | Y origin of the rectangle containing the ellipse |
| width | Width of the rectangle containing the ellipse |
| height | Height of the rectangle containing the ellipse |
| pen | Optional pen to use for drawing the contour of the ellipse |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.FilledEllipse | ( | self, | |
| int | orgX, | ||
| int | orgY, | ||
| int | width, | ||
| int | height, | ||
| eVision.EPen | pen, | ||
| eVision.EBrush | brush ) |
Fills an ellipse.
Remarks:
This method only draws axis-aligned ellipses, if the given ellipse has an angle, it is ignored. To draw filled and rotated ellipses, use eVision.EDrawAdapter.FilledRotatedEllipse instead. An ellipse with full angular amplitude is always drawn.
| orgX | X origin of the rectangle containing the ellipse |
| orgY | Y origin of the rectangle containing the ellipse |
| width | Width of the rectangle containing the ellipse |
| height | Height of the rectangle containing the ellipse |
| pen | Optional pen to use for drawing the contour of the ellipse |
| brush | Optional pen to use for drawing the inside of the ellipse |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.FilledPolygon | ( | self, | |
| eVision.EPolygon | polygon ) |
Fills a polygon.
| polygon | Polygon |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.FilledPolygon | ( | self, | |
| eVision.EPolygon | polygon, | ||
| eVision.EPen | pen ) |
Fills a polygon.
| polygon | Polygon |
| pen | Optional pen to use for drawing the contour of the polygon |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.FilledPolygon | ( | self, | |
| eVision.EPolygon | polygon, | ||
| eVision.EPen | pen, | ||
| eVision.EBrush | brush ) |
Fills a polygon.
| polygon | Polygon |
| pen | Optional pen to use for drawing the contour of the polygon |
| brush | Optional pen to use for drawing the inside of the polygon |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.FilledPolygon | ( | self, | |
| list[eVision._eVision.EPoint] | points ) |
Fills a polygon.
| points | Points of the polygon |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.FilledPolygon | ( | self, | |
| list[eVision._eVision.EPoint] | points, | ||
| eVision.EPen | pen ) |
Fills a polygon.
| points | Points of the polygon |
| pen | Optional pen to use for drawing the contour of the polygon |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.FilledPolygon | ( | self, | |
| list[eVision._eVision.EPoint] | points, | ||
| eVision.EPen | pen, | ||
| eVision.EBrush | brush ) |
Fills a polygon.
| points | Points of the polygon |
| pen | Optional pen to use for drawing the contour of the polygon |
| brush | Optional pen to use for drawing the inside of the polygon |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.FilledRectangle | ( | self, | |
| int | orgX, | ||
| int | orgY, | ||
| int | width, | ||
| int | height ) |
Fills a rectangle.
| orgX | X origin of the rectangle |
| orgY | Y origin of the rectangle |
| width | Width of the rectangle |
| height | Height of the rectangle |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.FilledRectangle | ( | self, | |
| int | orgX, | ||
| int | orgY, | ||
| int | width, | ||
| int | height, | ||
| eVision.EPen | pen ) |
Fills a rectangle.
| orgX | X origin of the rectangle |
| orgY | Y origin of the rectangle |
| width | Width of the rectangle |
| height | Height of the rectangle |
| pen | Optional pen to use for drawing the contour of the rectangle |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.FilledRectangle | ( | self, | |
| int | orgX, | ||
| int | orgY, | ||
| int | width, | ||
| int | height, | ||
| eVision.EPen | pen, | ||
| eVision.EBrush | brush ) |
Fills a rectangle.
| orgX | X origin of the rectangle |
| orgY | Y origin of the rectangle |
| width | Width of the rectangle |
| height | Height of the rectangle |
| pen | Optional pen to use for drawing the contour of the rectangle |
| brush | Optional brush to use for filling the inside of the rectangle |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.FilledRotatedEllipse | ( | self, | |
| eVision.EEllipse | ellipse ) |
Fills a rotated ellipse.
Remarks:
An ellipse with full angular amplitude is always drawn.
| ellipse | the ellipse to be drawn. |
| None eVision.EDrawAdapter.FilledRotatedEllipse | ( | self, | |
| eVision.EEllipse | ellipse, | ||
| eVision.EPen | pen ) |
Fills a rotated ellipse.
Remarks:
An ellipse with full angular amplitude is always drawn.
| ellipse | the ellipse to be drawn. |
| pen | Pen to draw the ellipse with. |
| None eVision.EDrawAdapter.FilledRotatedEllipse | ( | self, | |
| eVision.EEllipse | ellipse, | ||
| eVision.EPen | pen, | ||
| eVision.EBrush | brush ) |
Fills a rotated ellipse.
Remarks:
An ellipse with full angular amplitude is always drawn.
| ellipse | the ellipse to be drawn. |
| pen | Pen to draw the ellipse with. |
| brush | Brush to draw the ellipse with. |
| None eVision.EDrawAdapter.FilledRotatedEllipse | ( | self, | |
| float | centerX, | ||
| float | centerY, | ||
| float | radianAngle, | ||
| float | longAxis, | ||
| float | shortAxis ) |
Fills a rotated ellipse.
Remarks:
An ellipse with full angular amplitude is always drawn.
| centerX | X coordinate of the ellipse center |
| centerY | Y coordinate of the ellipse center |
| radianAngle | Angle of the rotated ellipse in radian |
| longAxis | Long axis length |
| shortAxis | Short axis length |
| None eVision.EDrawAdapter.FilledRotatedEllipse | ( | self, | |
| float | centerX, | ||
| float | centerY, | ||
| float | radianAngle, | ||
| float | longAxis, | ||
| float | shortAxis, | ||
| eVision.EPen | pen ) |
Fills a rotated ellipse.
Remarks:
An ellipse with full angular amplitude is always drawn.
| centerX | X coordinate of the ellipse center |
| centerY | Y coordinate of the ellipse center |
| radianAngle | Angle of the rotated ellipse in radian |
| longAxis | Long axis length |
| shortAxis | Short axis length |
| pen | Pen to draw the ellipse with. |
| None eVision.EDrawAdapter.FilledRotatedEllipse | ( | self, | |
| float | centerX, | ||
| float | centerY, | ||
| float | radianAngle, | ||
| float | longAxis, | ||
| float | shortAxis, | ||
| eVision.EPen | pen, | ||
| eVision.EBrush | brush ) |
Fills a rotated ellipse.
Remarks:
An ellipse with full angular amplitude is always drawn.
| centerX | X coordinate of the ellipse center |
| centerY | Y coordinate of the ellipse center |
| radianAngle | Angle of the rotated ellipse in radian |
| longAxis | Long axis length |
| shortAxis | Short axis length |
| pen | Pen to draw the ellipse with. |
| brush | Brush to draw the ellipse with. |
| eVision.EFont eVision.EDrawAdapter.Font | ( | self | ) |
Default font.
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| eVision.EDrawAdapter.Font | ( | self, | |
| eVision.EFont | value ) |
Default font.
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| eVision.EPoint eVision.EDrawAdapter.GetTextSize | ( | self, | |
| str | text ) |
Size of the given text using the default font (eVision.EDrawAdapter.Font).
| text | Text |
Reimplemented in eVision.EGenericDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.Image | ( | self, | |
| eVision.EBaseROI | image ) |
Draws an image.
| image | Image. |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.Image | ( | self, | |
| eVision.EBaseROI | image, | ||
| float | orgX, | ||
| float | orgY, | ||
| float | width, | ||
| float | height ) |
Draws an image.
| image | Image. |
| orgX | X coordinate of the point where to draw the image. |
| orgY | Y coordinate of the point where to draw the image. |
| width | Width of the destination rectangle in which to draw the image. |
| height | Height of the destination rectangle in which to draw the image. |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.Image | ( | self, | |
| eVision.EROIBW8 | image, | ||
| eVision.EBW8Vector | None | pColorScale ) |
Draws an image.
| image | Image. |
| pColorScale | Color scale to draw a grayscale image with. |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.Image | ( | self, | |
| eVision.EROIBW8 | image, | ||
| eVision.EBW8Vector | None | pColorScale, | ||
| float | orgX, | ||
| float | orgY, | ||
| float | width, | ||
| float | height ) |
Draws an image.
| image | Image. |
| pColorScale | Color scale to draw a grayscale image with. |
| orgX | X coordinate of the point where to draw the image. |
| orgY | Y coordinate of the point where to draw the image. |
| width | Width of the destination rectangle in which to draw the image. |
| height | Height of the destination rectangle in which to draw the image. |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.Image | ( | self, | |
| eVision.EROIBW8 | image, | ||
| eVision.EC24Vector | None | pColorScale ) |
Draws an image.
| image | Image. |
| pColorScale | Color scale to draw a grayscale image with. |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.Image | ( | self, | |
| eVision.EROIBW8 | image, | ||
| eVision.EC24Vector | None | pColorScale, | ||
| float | orgX, | ||
| float | orgY, | ||
| float | width, | ||
| float | height ) |
Draws an image.
| image | Image. |
| pColorScale | Color scale to draw a grayscale image with. |
| orgX | X coordinate of the point where to draw the image. |
| orgY | Y coordinate of the point where to draw the image. |
| width | Width of the destination rectangle in which to draw the image. |
| height | Height of the destination rectangle in which to draw the image. |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.Line | ( | self, | |
| int | x1, | ||
| int | y1, | ||
| int | x2, | ||
| int | y2 ) |
Draws a line between two points.
| x1 | X coordinate of line origin point |
| y1 | Y coordinate of line origin point |
| x2 | X coordinate of line end point |
| y2 | Y coordinate of line end point |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.Line | ( | self, | |
| int | x1, | ||
| int | y1, | ||
| int | x2, | ||
| int | y2, | ||
| eVision.EPen | pen ) |
Draws a line between two points.
| x1 | X coordinate of line origin point |
| y1 | Y coordinate of line origin point |
| x2 | X coordinate of line end point |
| y2 | Y coordinate of line end point |
| pen | Optional pen to use |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| eVision.EPen eVision.EDrawAdapter.Pen | ( | self | ) |
Default pen.
Reimplemented in eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| eVision.EDrawAdapter.Pen | ( | self, | |
| eVision.EPen | value ) |
Default pen.
Reimplemented in eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.Polygon | ( | self, | |
| eVision.EPolygon | polygon ) |
Draws a polygon.
| polygon | Polygon |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.Polygon | ( | self, | |
| eVision.EPolygon | polygon, | ||
| eVision.EPen | pen ) |
Draws a polygon.
| polygon | Polygon |
| pen | Optional pen to use |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.Polygon | ( | self, | |
| list[eVision._eVision.EPoint] | points ) |
Draws a polygon.
| points | Points of the polygon |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.Polygon | ( | self, | |
| list[eVision._eVision.EPoint] | points, | ||
| eVision.EPen | pen ) |
Draws a polygon.
| points | Points of the polygon |
| pen | Optional pen to use |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.Rectangle | ( | self, | |
| int | orgX, | ||
| int | orgY, | ||
| int | width, | ||
| int | height ) |
Draws a rectangle.
| orgX | X origin of the rectangle |
| orgY | Y origin of the rectangle |
| width | Width of the rectangle |
| height | Height of the rectangle |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.Rectangle | ( | self, | |
| int | orgX, | ||
| int | orgY, | ||
| int | width, | ||
| int | height, | ||
| eVision.EPen | pen ) |
Draws a rectangle.
| orgX | X origin of the rectangle |
| orgY | Y origin of the rectangle |
| width | Width of the rectangle |
| height | Height of the rectangle |
| pen | Optional pen to use |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.RotatedEllipse | ( | self, | |
| eVision.EEllipse | ellipse, | ||
| bool | drawDiagonals ) |
Draws a rotated ellipse.
Remarks:
An ellipse with full angular amplitude is always drawn.
| ellipse | the ellipse to be drawn. |
| drawDiagonals | Whether to draw the diagonal |
| None eVision.EDrawAdapter.RotatedEllipse | ( | self, | |
| eVision.EEllipse | ellipse, | ||
| bool | drawDiagonals, | ||
| eVision.EPen | pen ) |
Draws a rotated ellipse.
Remarks:
An ellipse with full angular amplitude is always drawn.
| ellipse | the ellipse to be drawn. |
| drawDiagonals | Whether to draw the diagonal |
| pen | Pen to draw the ellipse with. |
| None eVision.EDrawAdapter.RotatedEllipse | ( | self, | |
| float | centerX, | ||
| float | centerY, | ||
| float | radianAngle, | ||
| float | longAxis, | ||
| float | shortAxis, | ||
| bool | drawDiagonals ) |
Draws a rotated ellipse.
Remarks:
An ellipse with full angular amplitude is always drawn.
| centerX | X coordinate of the ellipse center |
| centerY | Y coordinate of the ellipse center |
| radianAngle | Angle of the rotated ellipse in radian |
| longAxis | Long axis length |
| shortAxis | Short axis length |
| drawDiagonals | Whether to draw the diagonal |
| None eVision.EDrawAdapter.RotatedEllipse | ( | self, | |
| float | centerX, | ||
| float | centerY, | ||
| float | radianAngle, | ||
| float | longAxis, | ||
| float | shortAxis, | ||
| bool | drawDiagonals, | ||
| eVision.EPen | pen ) |
Draws a rotated ellipse.
Remarks:
An ellipse with full angular amplitude is always drawn.
| centerX | X coordinate of the ellipse center |
| centerY | Y coordinate of the ellipse center |
| radianAngle | Angle of the rotated ellipse in radian |
| longAxis | Long axis length |
| shortAxis | Short axis length |
| drawDiagonals | Whether to draw the diagonal |
| pen | Pen to draw the ellipse with. |
| None eVision.EDrawAdapter.Text | ( | self, | |
| str | text, | ||
| int | x, | ||
| int | y ) |
Draws a text.
Remarks:
If desiredWidth is greater than 0, current font size will be ignored and a new one will be temporally set so that the whole drawn text fills in desiredWidth pixels.
| text | Text to draw. |
| x | X position of the text. |
| y | Y position of the text. |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.Text | ( | self, | |
| str | text, | ||
| int | x, | ||
| int | y, | ||
| eVision.EBrush | textBrush ) |
Draws a text.
Remarks:
If desiredWidth is greater than 0, current font size will be ignored and a new one will be temporally set so that the whole drawn text fills in desiredWidth pixels.
| text | Text to draw. |
| x | X position of the text. |
| y | Y position of the text. |
| textBrush | Optional brush to use for the color of the text. |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.Text | ( | self, | |
| str | text, | ||
| int | x, | ||
| int | y, | ||
| eVision.EBrush | textBrush, | ||
| eVision.ETextSizeConstraint | constraint ) |
Draws a text.
Remarks:
If desiredWidth is greater than 0, current font size will be ignored and a new one will be temporally set so that the whole drawn text fills in desiredWidth pixels.
| text | Text to draw. |
| x | X position of the text. |
| y | Y position of the text. |
| textBrush | Optional brush to use for the color of the text. |
| constraint | Text size constraint. By default, no constraint is to be applied. |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.Text | ( | self, | |
| str | text, | ||
| int | x, | ||
| int | y, | ||
| float | orientation ) |
Draws a text.
Remarks:
If desiredWidth is greater than 0, current font size will be ignored and a new one will be temporally set so that the whole drawn text fills in desiredWidth pixels.
| text | Text to draw. |
| x | X position of the text. |
| y | Y position of the text. |
| orientation | Orientation of the text in radians. |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.Text | ( | self, | |
| str | text, | ||
| int | x, | ||
| int | y, | ||
| float | orientation, | ||
| eVision.EBrush | textBrush ) |
Draws a text.
Remarks:
If desiredWidth is greater than 0, current font size will be ignored and a new one will be temporally set so that the whole drawn text fills in desiredWidth pixels.
| text | Text to draw. |
| x | X position of the text. |
| y | Y position of the text. |
| orientation | Orientation of the text in radians. |
| textBrush | Optional brush to use for the color of the text. |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.Text | ( | self, | |
| str | text, | ||
| int | x, | ||
| int | y, | ||
| float | orientation, | ||
| eVision.EBrush | textBrush, | ||
| eVision.ETextSizeConstraint | constraint ) |
Draws a text.
Remarks:
If desiredWidth is greater than 0, current font size will be ignored and a new one will be temporally set so that the whole drawn text fills in desiredWidth pixels.
| text | Text to draw. |
| x | X position of the text. |
| y | Y position of the text. |
| orientation | Orientation of the text in radians. |
| textBrush | Optional brush to use for the color of the text. |
| constraint | Text size constraint. By default, no constraint is to be applied. |
Reimplemented in eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EGenericDrawAdapter, eVision.EWindowsDrawAdapter, eVision.EWindowsDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.UseCurrentBrush | ( | self | ) |
Use the current pen set in the drawing framework.
Reimplemented in eVision.EGenericDrawAdapter, and eVision.EWindowsDrawAdapter.
| None eVision.EDrawAdapter.UseCurrentPen | ( | self | ) |
Use the current pen set in the drawing framework.
Reimplemented in eVision.EGenericDrawAdapter, and eVision.EWindowsDrawAdapter.