CVB.Net 14.0
OverlayBitDrawer Class Reference

Immediate mode drawing on Image overlay plane(s). More...

Static Public Member Functions

static void DrawLine (ImagePlane plane, OverlayBitDrawMode mode, int thickness, int x1, int y1, int x2, int y2)
 Draws/erases a line on the given Image overlay plane depending on mode . More...
 
static void DrawLine (ImagePlane plane, OverlayBitDrawMode mode, int thickness, Point2D pt1, Point2D pt2)
 Draws/erases a line on the given Image overlay plane depending on mode . More...
 
static void DrawLine (ImagePlane plane, OverlayBitDrawMode mode, int thickness, Line line)
 Draws/erases a line on the given Image overlay plane depending on mode . More...
 
static void DrawLines (ImagePlane plane, OverlayBitDrawMode mode, int thickness, params Point2D[] points)
 Draws multiple connected lines as by the given points on the given Image plane . More...
 
static void DrawLine (Image image, OverlayBitDrawMode mode, int thickness, int x1, int y1, int x2, int y2)
 Draws a line on all planes of the given image . More...
 
static void DrawLine (Image image, OverlayBitDrawMode mode, int thickness, Point2D pt1, Point2D pt2)
 Draws a line on all planes of the given image . More...
 
static void DrawLine (Image image, OverlayBitDrawMode mode, int thickness, Line line)
 Draws a line on all planes of the given image . More...
 
static void DrawLines (Image image, OverlayBitDrawMode mode, int thickness, params Point2D[] points)
 Draws multiple connected lines as by the given points on all image planes. More...
 
static void DrawCircle (ImagePlane plane, OverlayBitDrawMode mode, int thickness, int centerX, int centerY, int radius)
 Draws a circle border on the given Image plane . More...
 
static void DrawCircle (ImagePlane plane, OverlayBitDrawMode mode, int thickness, Point2D center, int radius)
 Draws a circle border on the given Image plane . More...
 
static void DrawCircle (ImagePlane plane, OverlayBitDrawMode mode, int thickness, Circle circle)
 Draws a circle border on the given Image plane . More...
 
static void DrawCircle (Image image, OverlayBitDrawMode mode, int thickness, int centerX, int centerY, int radius)
 Draws a circle border on the given image . More...
 
static void DrawCircle (Image image, OverlayBitDrawMode mode, int thickness, Point2D center, int radius)
 Draws a circle border on the given image . More...
 
static void DrawCircle (Image image, OverlayBitDrawMode mode, int thickness, Circle circle)
 Draws a circle border on the given image . More...
 
static void FillCircle (ImagePlane plane, OverlayBitDrawMode mode, int centerX, int centerY, int radius)
 Fills a circle on the given Image plane . More...
 
static void FillCircle (ImagePlane plane, OverlayBitDrawMode mode, Point2D center, int radius)
 Fills a circle on the given Image plane . More...
 
static void FillCircle (ImagePlane plane, OverlayBitDrawMode mode, Circle circle)
 Fills a circle on the given Image plane . More...
 
static void FillCircle (Image image, OverlayBitDrawMode mode, int centerX, int centerY, int radius)
 Fills a circle on the given image . More...
 
static void FillCircle (Image image, OverlayBitDrawMode mode, Point2D center, int radius)
 Fills a circle on the given image . More...
 
static void FillCircle (Image image, OverlayBitDrawMode mode, Circle circle)
 Fills a circle on the given image . More...
 
static void DrawEllipse (ImagePlane plane, OverlayBitDrawMode mode, int thickness, int centerX, int centerY, int radiusA, int radiusB, Angle rotation)
 Draws an ellipse border on the given Image plane . More...
 
static void DrawEllipse (ImagePlane plane, OverlayBitDrawMode mode, int thickness, int centerX, int centerY, int radiusA, int radiusB)
 Draws an ellipse border on the given Image plane with zero degrees rotation. More...
 
static void DrawEllipse (ImagePlane plane, OverlayBitDrawMode mode, int thickness, Point2D center, int radiusA, int radiusB, Angle rotation)
 Draws an ellipse border on the given Image plane . More...
 
static void DrawEllipse (ImagePlane plane, OverlayBitDrawMode mode, int thickness, Point2D center, int radiusA, int radiusB)
 Draws an ellipse border on the given Image plane and zero degrees rotation. More...
 
static void DrawEllipse (ImagePlane plane, OverlayBitDrawMode mode, int thickness, Ellipse ellipse)
 Draws an ellipse border on the given Image plane . More...
 
static void DrawEllipse (Image image, OverlayBitDrawMode mode, int thickness, int centerX, int centerY, int radiusA, int radiusB, Angle rotation)
 Draws an ellipse border on the given image . More...
 
static void DrawEllipse (Image image, OverlayBitDrawMode mode, int thickness, int centerX, int centerY, int radiusA, int radiusB)
 Draws an ellipse border on the given image . More...
 
static void DrawEllipse (Image image, OverlayBitDrawMode mode, int thickness, Point2D center, int radiusA, int radiusB, Angle rotation)
 Draws an ellipse border on the given image . More...
 
static void DrawEllipse (Image image, OverlayBitDrawMode mode, int thickness, Point2D center, int radiusA, int radiusB)
 Draws an ellipse border on the given image . More...
 
static void DrawEllipse (Image image, OverlayBitDrawMode mode, int thickness, Ellipse ellipse)
 Draws an ellipse border on the given image . More...
 
static void FillEllipse (ImagePlane plane, OverlayBitDrawMode mode, int centerX, int centerY, int radiusA, int radiusB, Angle rotation)
 Fills an ellipse on the given Image plane . More...
 
static void FillEllipse (ImagePlane plane, OverlayBitDrawMode mode, int centerX, int centerY, int radiusA, int radiusB)
 Fills an ellipse on the given Image plane with zero degrees rotation. More...
 
static void FillEllipse (ImagePlane plane, OverlayBitDrawMode mode, Point2D center, int radiusA, int radiusB, Angle rotation)
 Fills an ellipse on the given Image plane . More...
 
static void FillEllipse (ImagePlane plane, OverlayBitDrawMode mode, Point2D center, int radiusA, int radiusB)
 Fills an ellipse on the given Image plane and zero degrees rotation. More...
 
static void FillEllipse (ImagePlane plane, OverlayBitDrawMode mode, Ellipse ellipse)
 Fills an ellipse on the given Image plane . More...
 
static void FillEllipse (Image image, OverlayBitDrawMode mode, int centerX, int centerY, int radiusA, int radiusB, Angle rotation)
 Fills an ellipse on all planes of the given image . More...
 
static void FillEllipse (Image image, OverlayBitDrawMode mode, int centerX, int centerY, int radiusA, int radiusB)
 Fills an ellipse on all planes of the given image with zero degrees rotation. More...
 
static void FillEllipse (Image image, OverlayBitDrawMode mode, Point2D center, int radiusA, int radiusB, Angle rotation)
 Fills an ellipse on all planes of the given Image More...
 
static void FillEllipse (Image image, OverlayBitDrawMode mode, Point2D center, int radiusA, int radiusB)
 Fills an ellipse on all planes of the given image with zero degrees rotation. More...
 
static void FillEllipse (Image image, OverlayBitDrawMode mode, Ellipse ellipse)
 Fills an ellipse on all planes of the given image . More...
 
static void FloodFill (ImagePlane plane, OverlayBitDrawMode mode, int centerX, int centerY)
 Fills a closed region in the given Image, either setting or resetting the overlay bitsplane . More...
 
static void FloodFill (ImagePlane plane, OverlayBitDrawMode mode, Point2D center)
 Fills a closed region in the given Image, either setting or resetting the overlay bitsplane . More...
 
static void FloodFill (Image image, OverlayBitDrawMode mode, int centerX, int centerY)
 Fills a closed region in the given Image, either setting or resetting the overlay bits. More...
 
static void FloodFill (Image image, OverlayBitDrawMode mode, Point2D center)
 Fills a closed region in the given Image, either setting or resetting the overlay bits. More...
 
static void DrawRectangle (ImagePlane plane, OverlayBitDrawMode mode, int thickness, Area2D rectangle)
 Set/erase the overlay bits on a rectangular frame. More...
 
static void DrawRectangle (ImagePlane plane, OverlayBitDrawMode mode, int thickness, Rect rectangle)
 Set/erase the overlay bits on a rectangular frame. More...
 
static void DrawRectangle (Image image, OverlayBitDrawMode mode, int thickness, Area2D rectangle)
 Set/erase the overlay bits on a rectangular frame. More...
 
static void DrawRectangle (Image image, OverlayBitDrawMode mode, int thickness, Rect rectangle)
 Set/erase the overlay bits on a rectangular frame. More...
 
static void FillRectangle (ImagePlane plane, OverlayBitDrawMode mode, Area2D rectangle)
 Set/erase the overlay bits on a filled rectangle. More...
 
static void FillRectangle (ImagePlane plane, OverlayBitDrawMode mode, Rect rectangle)
 Set/erase the overlay bits on a filled rectangle. More...
 
static void FillRectangle (Image image, OverlayBitDrawMode mode, Area2D rectangle)
 Set/erase the overlay bits on a filled rectangle. More...
 
static void FillRectangle (Image image, OverlayBitDrawMode mode, Rect rectangle)
 Set/erase the overlay bits on a filled rectangle. More...
 

Detailed Description

Immediate mode drawing on Image overlay plane(s).

Member Function Documentation

◆ DrawCircle() [1/6]

static void DrawCircle ( Image  image,
OverlayBitDrawMode  mode,
int  thickness,
Circle  circle 
)
static

Draws a circle border on the given image .

Parameters
imageImage to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
thicknessLine thickness in pixels.
circleCircle to draw.
Exceptions
ArgumentNullExceptionimage is null (Nothing in Visual Basic).
ObjectDisposedExceptionGiven image was disposed.
ArgumentExceptionThe thickness is smaller than one.

◆ DrawCircle() [2/6]

static void DrawCircle ( Image  image,
OverlayBitDrawMode  mode,
int  thickness,
int  centerX,
int  centerY,
int  radius 
)
static

Draws a circle border on the given image .

Parameters
imageImage to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
thicknessLine thickness in pixels.
centerXCenter point of the circle.
centerYCenter point of the circle.
radiusRadius of the circle in pixels.
Exceptions
ArgumentNullExceptionimage is null (Nothing in Visual Basic).
ObjectDisposedExceptionGiven image was disposed.
ArgumentExceptionThe thickness is smaller than one.

◆ DrawCircle() [3/6]

static void DrawCircle ( Image  image,
OverlayBitDrawMode  mode,
int  thickness,
Point2D  center,
int  radius 
)
static

Draws a circle border on the given image .

Parameters
imageImage to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
thicknessLine thickness in pixels.
centerCenter point of the circle.
radiusRadius of the circle in pixels.
Exceptions
ArgumentNullExceptionimage is null (Nothing in Visual Basic).
ObjectDisposedExceptionGiven image was disposed.
ArgumentExceptionThe thickness is smaller than one.

◆ DrawCircle() [4/6]

static void DrawCircle ( ImagePlane  plane,
OverlayBitDrawMode  mode,
int  thickness,
Circle  circle 
)
static

Draws a circle border on the given Image plane .

Parameters
planeImage plane to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
thicknessLine thickness in pixels.
circleCircle to draw.
Exceptions
ObjectDisposedExceptionImage of given plane was disposed.
ArgumentExceptionThe thickness is smaller than one.

◆ DrawCircle() [5/6]

static void DrawCircle ( ImagePlane  plane,
OverlayBitDrawMode  mode,
int  thickness,
int  centerX,
int  centerY,
int  radius 
)
static

Draws a circle border on the given Image plane .

Parameters
planeImage plane to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
thicknessLine thickness in pixels.
centerXCenter point of the circle.
centerYCenter point of the circle.
radiusRadius of the circle in pixels.
Exceptions
ObjectDisposedExceptionImage of given plane was disposed.
ArgumentExceptionThe thickness is smaller than one.

◆ DrawCircle() [6/6]

static void DrawCircle ( ImagePlane  plane,
OverlayBitDrawMode  mode,
int  thickness,
Point2D  center,
int  radius 
)
static

Draws a circle border on the given Image plane .

Parameters
planeImage plane to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
thicknessLine thickness in pixels.
centerCenter point of the circle.
radiusRadius of the circle in pixels.
Exceptions
ObjectDisposedExceptionImage of given plane was disposed.
ArgumentExceptionThe thickness is smaller than one.

◆ DrawEllipse() [1/10]

static void DrawEllipse ( Image  image,
OverlayBitDrawMode  mode,
int  thickness,
Ellipse  ellipse 
)
static

Draws an ellipse border on the given image .

Parameters
imageImage to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
thicknessLine thickness in pixels.
ellipseEllipse to draw.
Exceptions
ArgumentNullExceptionimage is null (Nothing in Visual Basic).
ObjectDisposedExceptionGiven image was disposed.
ArgumentExceptionThe thickness is smaller than one.

◆ DrawEllipse() [2/10]

static void DrawEllipse ( Image  image,
OverlayBitDrawMode  mode,
int  thickness,
int  centerX,
int  centerY,
int  radiusA,
int  radiusB 
)
static

Draws an ellipse border on the given image .

Parameters
imageImage to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
thicknessLine thickness in pixels.
centerXCenter point of the ellipse.
centerYCenter point of the ellipse.
radiusALength of the first semi major axis. The first semi major is the one that coincides with the x axis if the rotation of the ellipse is 0.
radiusBLength of the second semi major axis. The second semi major is the one that coincides with the y axis if the rotation of the ellipse is 0.
Exceptions
ArgumentNullExceptionimage is null (Nothing in Visual Basic).
ObjectDisposedExceptionGiven image was disposed.
ArgumentExceptionThe thickness is smaller than one.

◆ DrawEllipse() [3/10]

static void DrawEllipse ( Image  image,
OverlayBitDrawMode  mode,
int  thickness,
int  centerX,
int  centerY,
int  radiusA,
int  radiusB,
Angle  rotation 
)
static

Draws an ellipse border on the given image .

Parameters
imageImage to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
thicknessLine thickness in pixels.
centerXCenter point of the ellipse.
centerYCenter point of the ellipse.
radiusALength of the first semi major axis. The first semi major is the one that coincides with the x axis if the rotation of the ellipse is 0.
radiusBLength of the second semi major axis. The second semi major is the one that coincides with the y axis if the rotation of the ellipse is 0.
rotationRotation of the ellipse in degrees.
Exceptions
ArgumentNullExceptionimage is null (Nothing in Visual Basic).
ObjectDisposedExceptionGiven image was disposed.
ArgumentExceptionThe thickness is smaller than one.

◆ DrawEllipse() [4/10]

static void DrawEllipse ( Image  image,
OverlayBitDrawMode  mode,
int  thickness,
Point2D  center,
int  radiusA,
int  radiusB 
)
static

Draws an ellipse border on the given image .

Parameters
imageImage to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
thicknessLine thickness in pixels.
centerCenter point of the ellipse.
radiusALength of the first semi major axis. The first semi major is the one that coincides with the x axis if the rotation of the ellipse is 0.
radiusBLength of the second semi major axis. The second semi major is the one that coincides with the y axis if the rotation of the ellipse is 0.
Exceptions
ArgumentNullExceptionimage is null (Nothing in Visual Basic).
ObjectDisposedExceptionGiven image was disposed.
ArgumentExceptionThe thickness is smaller than one.

◆ DrawEllipse() [5/10]

static void DrawEllipse ( Image  image,
OverlayBitDrawMode  mode,
int  thickness,
Point2D  center,
int  radiusA,
int  radiusB,
Angle  rotation 
)
static

Draws an ellipse border on the given image .

Parameters
imageImage to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
thicknessLine thickness in pixels.
centerCenter point of the ellipse.
radiusALength of the first semi major axis. The first semi major is the one that coincides with the x axis if the rotation of the ellipse is 0.
radiusBLength of the second semi major axis. The second semi major is the one that coincides with the y axis if the rotation of the ellipse is 0.
rotationRotation of the ellipse in degrees.
Exceptions
ArgumentNullExceptionimage is null (Nothing in Visual Basic).
ObjectDisposedExceptionGiven image was disposed.
ArgumentExceptionThe thickness is smaller than one.

◆ DrawEllipse() [6/10]

static void DrawEllipse ( ImagePlane  plane,
OverlayBitDrawMode  mode,
int  thickness,
Ellipse  ellipse 
)
static

Draws an ellipse border on the given Image plane .

Parameters
planeImage plane to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
thicknessLine thickness in pixels.
ellipseEllipse to draw.
Exceptions
ObjectDisposedExceptionImage of given plane was disposed.
ArgumentExceptionThe thickness is smaller than one.

◆ DrawEllipse() [7/10]

static void DrawEllipse ( ImagePlane  plane,
OverlayBitDrawMode  mode,
int  thickness,
int  centerX,
int  centerY,
int  radiusA,
int  radiusB 
)
static

Draws an ellipse border on the given Image plane with zero degrees rotation.

Parameters
planeImage plane to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
thicknessLine thickness in pixels.
centerXCenter point of the ellipse.
centerYCenter point of the ellipse.
radiusALength of the first semi major axis. The first semi major is the one that coincides with the x axis if the rotation of the ellipse is 0.
radiusBLength of the second semi major axis. The second semi major is the one that coincides with the y axis if the rotation of the ellipse is 0.
Exceptions
ObjectDisposedExceptionImage of given plane was disposed.
ArgumentExceptionThe thickness is smaller than one.

◆ DrawEllipse() [8/10]

static void DrawEllipse ( ImagePlane  plane,
OverlayBitDrawMode  mode,
int  thickness,
int  centerX,
int  centerY,
int  radiusA,
int  radiusB,
Angle  rotation 
)
static

Draws an ellipse border on the given Image plane .

Parameters
planeImage plane to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
thicknessLine thickness in pixels.
centerXCenter point of the ellipse.
centerYCenter point of the ellipse.
radiusALength of the first semi major axis. The first semi major is the one that coincides with the x axis if the rotation of the ellipse is 0.
radiusBLength of the second semi major axis. The second semi major is the one that coincides with the y axis if the rotation of the ellipse is 0.
rotationRotation of the ellipse in degrees.
Exceptions
ObjectDisposedExceptionImage of given plane was disposed.
ArgumentExceptionThe thickness is smaller than one.

◆ DrawEllipse() [9/10]

static void DrawEllipse ( ImagePlane  plane,
OverlayBitDrawMode  mode,
int  thickness,
Point2D  center,
int  radiusA,
int  radiusB 
)
static

Draws an ellipse border on the given Image plane and zero degrees rotation.

Parameters
planeImage plane to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
thicknessLine thickness in pixels.
centerCenter point of the ellipse.
radiusALength of the first semi major axis. The first semi major is the one that coincides with the x axis if the rotation of the ellipse is 0.
radiusBLength of the second semi major axis. The second semi major is the one that coincides with the y axis if the rotation of the ellipse is 0.
Exceptions
ObjectDisposedExceptionImage of given plane was disposed.
ArgumentExceptionThe thickness is smaller than one.

◆ DrawEllipse() [10/10]

static void DrawEllipse ( ImagePlane  plane,
OverlayBitDrawMode  mode,
int  thickness,
Point2D  center,
int  radiusA,
int  radiusB,
Angle  rotation 
)
static

Draws an ellipse border on the given Image plane .

Parameters
planeImage plane to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
thicknessLine thickness in pixels.
centerCenter point of the ellipse.
radiusALength of the first semi major axis. The first semi major is the one that coincides with the x axis if the rotation of the ellipse is 0.
radiusBLength of the second semi major axis. The second semi major is the one that coincides with the y axis if the rotation of the ellipse is 0.
rotationRotation of the ellipse in degrees.
Exceptions
ObjectDisposedExceptionImage of given plane was disposed.
ArgumentExceptionThe thickness is smaller than one.

◆ DrawLine() [1/6]

static void DrawLine ( Image  image,
OverlayBitDrawMode  mode,
int  thickness,
int  x1,
int  y1,
int  x2,
int  y2 
)
static

Draws a line on all planes of the given image .

Parameters
imageImage to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
thicknessLine thickness in pixels.
x1X component of start point.
y1Y component of start point.
x2X component of end point.
y2Y component of end point.
Exceptions
ArgumentNullExceptionimage is null (Nothing in Visual Basic).
ObjectDisposedExceptionImage of given image was disposed.
ArgumentExceptionThe thickness is smaller than one.

◆ DrawLine() [2/6]

static void DrawLine ( Image  image,
OverlayBitDrawMode  mode,
int  thickness,
Line  line 
)
static

Draws a line on all planes of the given image .

Parameters
imageImage to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
thicknessLine thickness in pixels.
lineLine to draw.
Exceptions
ArgumentNullExceptionimage is null (Nothing in Visual Basic).
ObjectDisposedExceptionImage of given image was disposed.
ArgumentExceptionThe thickness is smaller than one.

◆ DrawLine() [3/6]

static void DrawLine ( Image  image,
OverlayBitDrawMode  mode,
int  thickness,
Point2D  pt1,
Point2D  pt2 
)
static

Draws a line on all planes of the given image .

Parameters
imageImage to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
thicknessLine thickness in pixels.
pt1Start point.
pt2End point.
Exceptions
ArgumentNullExceptionimage is null (Nothing in Visual Basic).
ObjectDisposedExceptionImage of given image was disposed.
ArgumentExceptionThe thickness is smaller than one.

◆ DrawLine() [4/6]

static void DrawLine ( ImagePlane  plane,
OverlayBitDrawMode  mode,
int  thickness,
int  x1,
int  y1,
int  x2,
int  y2 
)
static

Draws/erases a line on the given Image overlay plane depending on mode .

Parameters
planeImage plane to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
thicknessLine thickness in pixels.
x1X component of start point.
y1Y component of start point.
x2X component of end point.
y2Y component of end point.
Exceptions
ObjectDisposedExceptionImage of given plane was disposed.
ArgumentExceptionThe thickness is smaller than one.
FormatExceptionplane has no overlay bit set (not an overlay Image).

◆ DrawLine() [5/6]

static void DrawLine ( ImagePlane  plane,
OverlayBitDrawMode  mode,
int  thickness,
Line  line 
)
static

Draws/erases a line on the given Image overlay plane depending on mode .

Parameters
planeImage plane to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
thicknessLine thickness in pixels.
lineLine to draw.
Exceptions
ObjectDisposedExceptionImage of given plane was disposed.
ArgumentExceptionThe thickness is smaller than one.
FormatExceptionplane has no overlay bit set (not an overlay Image).

◆ DrawLine() [6/6]

static void DrawLine ( ImagePlane  plane,
OverlayBitDrawMode  mode,
int  thickness,
Point2D  pt1,
Point2D  pt2 
)
static

Draws/erases a line on the given Image overlay plane depending on mode .

Parameters
planeImage plane to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
thicknessLine thickness in pixels.
pt1Start point.
pt2End point.
Exceptions
ObjectDisposedExceptionImage of given plane was disposed.
ArgumentExceptionThe thickness is smaller than one.
FormatExceptionplane has no overlay bit set (not an overlay Image).

◆ DrawLines() [1/2]

static void DrawLines ( Image  image,
OverlayBitDrawMode  mode,
int  thickness,
params Point2D[]  points 
)
static

Draws multiple connected lines as by the given points on all image planes.

Parameters
imageImage to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
thicknessLine thickness in pixels.
pointsPoints to draw lines with.
Exceptions
ArgumentNullExceptionimage or points is null (Nothing in Visual Basic).
ObjectDisposedExceptionImage of given image was disposed.
ArgumentExceptionThe thickness is smaller than one.

◆ DrawLines() [2/2]

static void DrawLines ( ImagePlane  plane,
OverlayBitDrawMode  mode,
int  thickness,
params Point2D[]  points 
)
static

Draws multiple connected lines as by the given points on the given Image plane .

Parameters
planeImage plane to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
thicknessLine thickness in pixels.
pointsPoints to draw lines with.
Exceptions
ArgumentNullExceptionpoints is null (Nothing in Visual Basic).
ObjectDisposedExceptionImage of given plane was disposed.
ArgumentExceptionThe thickness is smaller than one.

◆ DrawRectangle() [1/4]

static void DrawRectangle ( Image  image,
OverlayBitDrawMode  mode,
int  thickness,
Area2D  rectangle 
)
static

Set/erase the overlay bits on a rectangular frame.

Parameters
imageImage to draw to (all planes will be painted to).
modeDraw mode (set/erase).
thicknessLine thickness with which to draw.
rectangleRectangle to draw.

◆ DrawRectangle() [2/4]

static void DrawRectangle ( Image  image,
OverlayBitDrawMode  mode,
int  thickness,
Rect  rectangle 
)
static

Set/erase the overlay bits on a rectangular frame.

Parameters
imageImage to draw to (all planes will be painted to).
modeDraw mode (set/erase).
thicknessLine thickness with which to draw.
rectangleRectangle to draw.

◆ DrawRectangle() [3/4]

static void DrawRectangle ( ImagePlane  plane,
OverlayBitDrawMode  mode,
int  thickness,
Area2D  rectangle 
)
static

Set/erase the overlay bits on a rectangular frame.

Parameters
planePlane to draw to.
modeDraw mode (set/erase).
thicknessLine thickness with which to draw.
rectangleRectangle to draw.

◆ DrawRectangle() [4/4]

static void DrawRectangle ( ImagePlane  plane,
OverlayBitDrawMode  mode,
int  thickness,
Rect  rectangle 
)
static

Set/erase the overlay bits on a rectangular frame.

Parameters
planePlane to draw to.
modeDraw mode (set/erase).
thicknessLine thickness with which to draw.
rectangleRectangle to draw.

◆ FillCircle() [1/6]

static void FillCircle ( Image  image,
OverlayBitDrawMode  mode,
Circle  circle 
)
static

Fills a circle on the given image .

Parameters
imageImage to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
circleCircle to draw.
Exceptions
ArgumentNullExceptionimage is null (Nothing in Visual Basic).
ObjectDisposedExceptionGiven image was disposed.

◆ FillCircle() [2/6]

static void FillCircle ( Image  image,
OverlayBitDrawMode  mode,
int  centerX,
int  centerY,
int  radius 
)
static

Fills a circle on the given image .

Parameters
imageImage to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
centerXCenter point of the circle.
centerYCenter point of the circle.
radiusRadius of the circle in pixels.
Exceptions
ArgumentNullExceptionimage is null (Nothing in Visual Basic).
ObjectDisposedExceptionGiven image was disposed.

◆ FillCircle() [3/6]

static void FillCircle ( Image  image,
OverlayBitDrawMode  mode,
Point2D  center,
int  radius 
)
static

Fills a circle on the given image .

Parameters
imageImage to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
centerCenter point of the circle.
radiusRadius of the circle in pixels.
Exceptions
ArgumentNullExceptionimage is null (Nothing in Visual Basic).
ObjectDisposedExceptionGiven image was disposed.

◆ FillCircle() [4/6]

static void FillCircle ( ImagePlane  plane,
OverlayBitDrawMode  mode,
Circle  circle 
)
static

Fills a circle on the given Image plane .

Parameters
planeImage plane to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
circleCircle to draw.
Exceptions
ObjectDisposedExceptionImage of given plane was disposed.

◆ FillCircle() [5/6]

static void FillCircle ( ImagePlane  plane,
OverlayBitDrawMode  mode,
int  centerX,
int  centerY,
int  radius 
)
static

Fills a circle on the given Image plane .

Parameters
planeImage plane to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
centerXCenter point of the circle.
centerYCenter point of the circle.
radiusRadius of the circle in pixels.
Exceptions
ObjectDisposedExceptionImage of given plane was disposed.

◆ FillCircle() [6/6]

static void FillCircle ( ImagePlane  plane,
OverlayBitDrawMode  mode,
Point2D  center,
int  radius 
)
static

Fills a circle on the given Image plane .

Parameters
planeImage plane to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
centerCenter point of the circle.
radiusRadius of the circle in pixels.
Exceptions
ObjectDisposedExceptionImage of given plane was disposed.

◆ FillEllipse() [1/10]

static void FillEllipse ( Image  image,
OverlayBitDrawMode  mode,
Ellipse  ellipse 
)
static

Fills an ellipse on all planes of the given image .

Parameters
imageImage to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
ellipseEllipse to draw.
Exceptions
ArgumentNullExceptionimage is null (Nothing in Visual Basic).
ObjectDisposedExceptionGiven image was disposed.

◆ FillEllipse() [2/10]

static void FillEllipse ( Image  image,
OverlayBitDrawMode  mode,
int  centerX,
int  centerY,
int  radiusA,
int  radiusB 
)
static

Fills an ellipse on all planes of the given image with zero degrees rotation.

Parameters
imageImage to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
centerXCenter point of the ellipse.
centerYCenter point of the ellipse.
radiusALength of the first semi major axis. The first semi major is the one that coincides with the x axis if the rotation of the ellipse is 0.
radiusBLength of the second semi major axis. The second semi major is the one that coincides with the y axis if the rotation of the ellipse is 0.
Exceptions
ArgumentNullExceptionimage is null (Nothing in Visual Basic).
ObjectDisposedExceptionGiven image was disposed.

◆ FillEllipse() [3/10]

static void FillEllipse ( Image  image,
OverlayBitDrawMode  mode,
int  centerX,
int  centerY,
int  radiusA,
int  radiusB,
Angle  rotation 
)
static

Fills an ellipse on all planes of the given image .

Parameters
imageImage to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
centerXCenter point of the ellipse.
centerYCenter point of the ellipse.
radiusALength of the first semi major axis. The first semi major is the one that coincides with the x axis if the rotation of the ellipse is 0.
radiusBLength of the second semi major axis. The second semi major is the one that coincides with the y axis if the rotation of the ellipse is 0.
rotationRotation of the ellipse in degrees.
Exceptions
ArgumentNullExceptionimage is null (Nothing in Visual Basic).
ObjectDisposedExceptionGiven image was disposed.

◆ FillEllipse() [4/10]

static void FillEllipse ( Image  image,
OverlayBitDrawMode  mode,
Point2D  center,
int  radiusA,
int  radiusB 
)
static

Fills an ellipse on all planes of the given image with zero degrees rotation.

Parameters
imageImage to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
centerCenter point of the ellipse.
radiusALength of the first semi major axis. The first semi major is the one that coincides with the x axis if the rotation of the ellipse is 0.
radiusBLength of the second semi major axis. The second semi major is the one that coincides with the y axis if the rotation of the ellipse is 0.
Exceptions
ArgumentNullExceptionimage is null (Nothing in Visual Basic).
ObjectDisposedExceptionGiven image was disposed.

◆ FillEllipse() [5/10]

static void FillEllipse ( Image  image,
OverlayBitDrawMode  mode,
Point2D  center,
int  radiusA,
int  radiusB,
Angle  rotation 
)
static

Fills an ellipse on all planes of the given Image

Parameters
imageImage to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
centerCenter point of the ellipse.
radiusALength of the first semi major axis. The first semi major is the one that coincides with the x axis if the rotation of the ellipse is 0.
radiusBLength of the second semi major axis. The second semi major is the one that coincides with the y axis if the rotation of the ellipse is 0.
rotationRotation of the ellipse in degrees.
Exceptions
ArgumentNullExceptionimage is null (Nothing in Visual Basic).
ObjectDisposedExceptionGiven image was disposed.

◆ FillEllipse() [6/10]

static void FillEllipse ( ImagePlane  plane,
OverlayBitDrawMode  mode,
Ellipse  ellipse 
)
static

Fills an ellipse on the given Image plane .

Parameters
planeImage plane to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
ellipseEllipse to draw.
Exceptions
ObjectDisposedExceptionImage of given plane was disposed.

◆ FillEllipse() [7/10]

static void FillEllipse ( ImagePlane  plane,
OverlayBitDrawMode  mode,
int  centerX,
int  centerY,
int  radiusA,
int  radiusB 
)
static

Fills an ellipse on the given Image plane with zero degrees rotation.

Parameters
planeImage plane to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
centerXCenter point of the ellipse.
centerYCenter point of the ellipse.
radiusALength of the first semi major axis. The first semi major is the one that coincides with the x axis if the rotation of the ellipse is 0.
radiusBLength of the second semi major axis. The second semi major is the one that coincides with the y axis if the rotation of the ellipse is 0.
Exceptions
ObjectDisposedExceptionImage of given plane was disposed.

◆ FillEllipse() [8/10]

static void FillEllipse ( ImagePlane  plane,
OverlayBitDrawMode  mode,
int  centerX,
int  centerY,
int  radiusA,
int  radiusB,
Angle  rotation 
)
static

Fills an ellipse on the given Image plane .

Parameters
planeImage plane to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
centerXCenter point of the ellipse.
centerYCenter point of the ellipse.
radiusALength of the first semi major axis. The first semi major is the one that coincides with the x axis if the rotation of the ellipse is 0.
radiusBLength of the second semi major axis. The second semi major is the one that coincides with the y axis if the rotation of the ellipse is 0.
rotationRotation of the ellipse in degrees.
Exceptions
ObjectDisposedExceptionImage of given plane was disposed.

◆ FillEllipse() [9/10]

static void FillEllipse ( ImagePlane  plane,
OverlayBitDrawMode  mode,
Point2D  center,
int  radiusA,
int  radiusB 
)
static

Fills an ellipse on the given Image plane and zero degrees rotation.

Parameters
planeImage plane to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
centerCenter point of the ellipse.
radiusALength of the first semi major axis. The first semi major is the one that coincides with the x axis if the rotation of the ellipse is 0.
radiusBLength of the second semi major axis. The second semi major is the one that coincides with the y axis if the rotation of the ellipse is 0.
Exceptions
ObjectDisposedExceptionImage of given plane was disposed.

◆ FillEllipse() [10/10]

static void FillEllipse ( ImagePlane  plane,
OverlayBitDrawMode  mode,
Point2D  center,
int  radiusA,
int  radiusB,
Angle  rotation 
)
static

Fills an ellipse on the given Image plane .

Parameters
planeImage plane to draw on.
modeEither OverlayBitDrawMode.Set or OverlayBitDrawMode.Erase the overlay bits.
centerCenter point of the ellipse.
radiusALength of the first semi major axis. The first semi major is the one that coincides with the x axis if the rotation of the ellipse is 0.
radiusBLength of the second semi major axis. The second semi major is the one that coincides with the y axis if the rotation of the ellipse is 0.
rotationRotation of the ellipse in degrees.
Exceptions
ObjectDisposedExceptionImage of given plane was disposed.

◆ FillRectangle() [1/4]

static void FillRectangle ( Image  image,
OverlayBitDrawMode  mode,
Area2D  rectangle 
)
static

Set/erase the overlay bits on a filled rectangle.

Parameters
imageImage to draw to.
modeDraw mode (set/erase).
rectangleRectangle to draw.

◆ FillRectangle() [2/4]

static void FillRectangle ( Image  image,
OverlayBitDrawMode  mode,
Rect  rectangle 
)
static

Set/erase the overlay bits on a filled rectangle.

Parameters
imageImage to draw to.
modeDraw mode (set/erase).
rectangleRectangle to draw.

◆ FillRectangle() [3/4]

static void FillRectangle ( ImagePlane  plane,
OverlayBitDrawMode  mode,
Area2D  rectangle 
)
static

Set/erase the overlay bits on a filled rectangle.

Parameters
planePlane to draw to.
modeDraw mode (set/erase).
rectangleRectangle to draw.

◆ FillRectangle() [4/4]

static void FillRectangle ( ImagePlane  plane,
OverlayBitDrawMode  mode,
Rect  rectangle 
)
static

Set/erase the overlay bits on a filled rectangle.

Parameters
planePlane to draw to.
modeDraw mode (set/erase).
rectangleRectangle to draw.

◆ FloodFill() [1/4]

static void FloodFill ( Image  image,
OverlayBitDrawMode  mode,
int  centerX,
int  centerY 
)
static

Fills a closed region in the given Image, either setting or resetting the overlay bits.

Parameters
imageImage to paint on.
modeSet/Unset bit.
centerXX coordinate of the fill center.
centerYY coordinate of the fill center.

◆ FloodFill() [2/4]

static void FloodFill ( Image  image,
OverlayBitDrawMode  mode,
Point2D  center 
)
static

Fills a closed region in the given Image, either setting or resetting the overlay bits.

Parameters
imageImage to paint on.
modeSet/Unset bit.
centerCoordinates of the fill center.

◆ FloodFill() [3/4]

static void FloodFill ( ImagePlane  plane,
OverlayBitDrawMode  mode,
int  centerX,
int  centerY 
)
static

Fills a closed region in the given Image, either setting or resetting the overlay bitsplane .

Parameters
planePlane to paint on.
modeSet/Unset bit.
centerXX coordinate of the fill center.
centerYY coordinate of the fill center.

◆ FloodFill() [4/4]

static void FloodFill ( ImagePlane  plane,
OverlayBitDrawMode  mode,
Point2D  center 
)
static

Fills a closed region in the given Image, either setting or resetting the overlay bitsplane .

Parameters
planePlane to paint on.
modeSet/Unset bit.
centerCoordinates of the fill center.