CVB.Net 14.0
FixedSizeEllipseOverlay Class Reference

An ellipse overlay that does not change size regardless of the display's zoom factor More...

Inherits PenStyleOverlayPluginBase.

Public Member Functions

 FixedSizeEllipseOverlay (string text, bool canDrag, System.Drawing.Color color, bool xorPaint, bool filled, Point center, Size axis, object tag)
 Constructor for a fixed size ellipse overlay. More...
 
 FixedSizeEllipseOverlay (string text, bool canDrag, System.Drawing.Color color, bool xorPaint, bool filled, Point center, Size axis)
 Constructor for a fixed size ellipse overlay. More...
 
 FixedSizeEllipseOverlay (string text, bool canDrag, System.Drawing.Color color, bool xorPaint, bool filled, Point center, Size axis, DashStyle dashStyle, int penWidth, object tag)
 Constructor for a fixed size ellipse overlay. More...
 
 FixedSizeEllipseOverlay (string text, bool canDrag, System.Drawing.Color color, bool xorPaint, bool filled, Point center, Size axis, DashStyle dashStyle, int penWidth)
 Constructor for a fixed size ellipse overlay. More...
 
override OverlayPluginBase Clone ()
 Virtual copy constructor. More...
 

Properties

Size Axis [get, set]
 The two axises of the ellipse in x and y direction
 
Point Center [get, set]
 Position of the center of the ellipse.
 
- Properties inherited from PenStyleOverlayPluginBase
int PenWidth [get, set]
 Width of the pen to be used for painting. More...
 
DashStyle DashStyle [get, set]
 Dash style to be used for painting. More...
 

Additional Inherited Members

- Protected Member Functions inherited from PenStyleOverlayPluginBase
 PenStyleOverlayPluginBase (string text, bool canDrag, System.Drawing.Color color, bool xorPaint, bool filled, Point[] vertices, OverlayPluginInfo info, object tag)
 Constructor for pen-styled overlay plugins. More...
 
 PenStyleOverlayPluginBase (string text, bool canDrag, System.Drawing.Color color, bool xorPaint, bool filled, Point[] vertices, OverlayPluginInfo info, DashStyle dashStyle, int penWidth, object tag)
 Constructor for pen-styled overlay plugins. More...
 
override PluginData.PenStylePlugInData CreatePluginData ()
 Build the plugin data structure using the current settings. More...
 
- Protected Member Functions inherited from ExtendedOverlayPluginBase< PluginData.PenStylePlugInData >
 ExtendedOverlayPluginBase (string text, bool canDrag, System.Drawing.Color color, bool xorPaint, bool filled, Point[] vertices, OverlayPluginInfo info, object tag)
 Standard constructor for overlays with a plugin data structure. More...
 
override OverlayPluginWrapper CreateOverlayWrapper ()
 overrideable creation function for overlay wrapper objects More...
 
abstract TData CreatePluginData ()
 Inheritors must override this and in the override prepare the plugin data reflecting the OPI's current state (depending usually on the current values of the Overlay object's properties) More...
 
virtual void OpiDataPropertyChanged ()
 A property that is relevant for the opi data structure has been changed; as a consequence, the opi may potentially need to be re-generated in order to reflect the changes.
 
virtual void OpiDataPropertyChanged (bool skipDestroyAndCreate)
 A property that is relevant for the opi data structure has been changed; as a consequence, the opi may potentially need to be re-generated in order to reflect the changes. More...
 
- Protected Attributes inherited from ExtendedOverlayPluginBase< PluginData.PenStylePlugInData >
TData opiData_
 The plugin-specific data structure
 

Detailed Description

An ellipse overlay that does not change size regardless of the display's zoom factor

Constructor & Destructor Documentation

◆ FixedSizeEllipseOverlay() [1/4]

FixedSizeEllipseOverlay ( string  text,
bool  canDrag,
System.Drawing.Color  color,
bool  xorPaint,
bool  filled,
Point  center,
Size  axis,
object  tag 
)

Constructor for a fixed size ellipse overlay.

Parameters
textstatus line string
canDragdragable or not
colorcolor
xorPaintpaint mode
filledpaint mode
centerellipse's center
axissize of the two axises of the ellipses
tagobject to be associated with this overlay

◆ FixedSizeEllipseOverlay() [2/4]

FixedSizeEllipseOverlay ( string  text,
bool  canDrag,
System.Drawing.Color  color,
bool  xorPaint,
bool  filled,
Point  center,
Size  axis 
)

Constructor for a fixed size ellipse overlay.

Parameters
textstatus line string
canDragdragable or not
colorcolor
xorPaintpaint mode
filledpaint mode
centerellipse's center
axissize of the two axises of the ellipses

◆ FixedSizeEllipseOverlay() [3/4]

FixedSizeEllipseOverlay ( string  text,
bool  canDrag,
System.Drawing.Color  color,
bool  xorPaint,
bool  filled,
Point  center,
Size  axis,
DashStyle  dashStyle,
int  penWidth,
object  tag 
)

Constructor for a fixed size ellipse overlay.

Parameters
textstatus line string
canDragdragable or not
colorcolor
xorPaintpaint mode
filledpaint mode
centerellipse's center
axisaxises of the ellipse
dashStyledash style to be used for painting
penWidthpen width to be used for painting
tagobject to be associated with this overlay

◆ FixedSizeEllipseOverlay() [4/4]

FixedSizeEllipseOverlay ( string  text,
bool  canDrag,
System.Drawing.Color  color,
bool  xorPaint,
bool  filled,
Point  center,
Size  axis,
DashStyle  dashStyle,
int  penWidth 
)

Constructor for a fixed size ellipse overlay.

Parameters
textstatus line string
canDragdragable or not
colorcolor
xorPaintpaint mode
filledpaint mode
centerellipse's center
axisaxises of the ellipse
dashStyledash style to be used for painting
penWidthpen width to be used for painting

Member Function Documentation

◆ Clone()

override OverlayPluginBase Clone ( )

Virtual copy constructor.

Returns
The clones FixedSizeEllipseOverlay object.