A "target" - in principle a stack of crosshair plugins More...
Inherits ExtendedOverlayPluginBase< PluginData.BitmapPlugInData >.
Public Member Functions | |
FixedSizeBitmapOverlay (string text, bool canDrag, Point location, Bitmap bitmap, object tag) | |
Standard constructor for bitmap overlays that will not change in size regardless of the current zoom level. More... | |
FixedSizeBitmapOverlay (string text, bool canDrag, Point location, Bitmap bitmap) | |
Standard constructor for bitmap overlays that will not change in size regardless of the current zoom level. More... | |
override OverlayPluginBase | Clone () |
Virtual copy Constructor. More... | |
Protected Member Functions | |
override PluginData.BitmapPlugInData | CreatePluginData () |
Create the plugin data structure for later use More... | |
Protected Member Functions inherited from ExtendedOverlayPluginBase< PluginData.BitmapPlugInData > | |
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... | |
Properties | |
new System.Drawing.Color | Color [get, set] |
Setting any other color than black is not possible for this overlay. More... | |
new bool | Filled [get, set] |
Filled property is always true on this overlay. More... | |
new bool | XORPainting [get, set] |
XOR painting is not possible... More... | |
Bitmap | Bitmap [get, set] |
Bitmap to be displayed More... | |
Point | Location [get, set] |
position of the left top corner of the bitmap | |
Additional Inherited Members | |
Protected Attributes inherited from ExtendedOverlayPluginBase< PluginData.BitmapPlugInData > | |
TData | opiData_ |
The plugin-specific data structure | |
A "target" - in principle a stack of crosshair plugins
FixedSizeBitmapOverlay | ( | string | text, |
bool | canDrag, | ||
Point | location, | ||
Bitmap | bitmap, | ||
object | tag | ||
) |
Standard constructor for bitmap overlays that will not change in size regardless of the current zoom level.
text | status line text |
canDrag | drag-ability |
location | paint position |
bitmap | bitmap to be used as overlay (will be cloned) |
tag | object to be associated with this overlay |
FixedSizeBitmapOverlay | ( | string | text, |
bool | canDrag, | ||
Point | location, | ||
Bitmap | bitmap | ||
) |
Standard constructor for bitmap overlays that will not change in size regardless of the current zoom level.
text | status line text |
canDrag | drag-ability |
location | paint position |
bitmap | bitmap to be used as overlay (will be cloned) |
override OverlayPluginBase Clone | ( | ) |
Virtual copy Constructor.
|
protectedvirtual |
Create the plugin data structure for later use
Implements ExtendedOverlayPluginBase< PluginData.BitmapPlugInData >.
|
getset |
Bitmap to be displayed
NullReferenceException | when trying to set a null handle |
|
getset |
Setting any other color than black is not possible for this overlay.
NotSupportedException | when trying to set a value (inheritance dictates that a set accessor needs to be present). |
|
getset |
Filled property is always true on this overlay.
NotSupportedException | when trying to set a value of "false". |
|
getset |
XOR painting is not possible...
NotSupportedException | when trying to set true (inheritance dictates that a set accessor needs to be present). |