Base class for all overlays that come with a plugin data structure More...
Inherits OverlayPluginBase.
Protected Member Functions | |
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... | |
![]() | |
OverlayPluginBase (string text, bool canDrag, System.Drawing.Color color, bool xorPaint, bool filled, Point[] vertices, OverlayPluginInfo info, object tag) | |
ctor for Overlay objects with user data More... | |
virtual OverlayPluginWrapper | CreateOverlayWrapper () |
Overrideable creation function for overlay wrapper objects More... | |
override void | Overlay_ConnectedToDisplay () |
Connect the overlay plugin to the display by means of an OPI wrapper | |
override void | Overlay_DisconnectedFromDisplay (bool handBackID) |
Remove an OPI from a display (effectively: kill it...) More... | |
![]() | |
OverlayBase (string text, bool canDrag, System.Drawing.Color color, object tag) | |
ctor for DisplayObjects More... | |
Protected Attributes | |
TData | opiData_ |
The plugin-specific data structure | |
![]() | |
OverlayPluginInfo | opiInfo_ |
information about the OPI that is being used by this object | |
Point[] | vertices_ |
Array with the most up-to-date construction vertices | |
![]() | |
System.Drawing.Color | color_ = System.Drawing.Color.White |
Internally stored color. | |
Additional Inherited Members | |
![]() | |
abstract OverlayPluginBase | Clone () |
virtual copy constructor for overlay objects More... | |
![]() | |
string | Name [get] |
Friendly name of the overlay plugin | |
virtual bool | Filled [get, set] |
Specifies whether or not the OPI should be painted filled | |
virtual bool | XORPainting [get, set] |
specifies the paint mode (opaque or XOR) | |
![]() | |
Display | Parent [get] |
The display on which the label lives (if any...). Note that a label may only be associated with one display at a time | |
object | Tag [get, set] |
Field for user-definable data to be associated with the overlay object. | |
bool | InvokeRequired [get] |
tell whether actions on the display object require an invoke action or not (being user interface objects, display objects should not be modified asynchronously) | |
string | Text [get, set] |
Text being displayed on the label and/or in the status line | |
virtual System.Drawing.Color | Color [get, set] |
Color of the label | |
bool | IsDragable [get, set] |
Label dragable? | |
Base class for all overlays that come with a plugin data structure
TData | Type of the information container for the plugin. |
TData | : | struct |
|
protected |
Standard constructor for overlays with a plugin data structure.
text | status line text |
canDrag | drag-ability |
color | color |
xorPaint | paint mode |
filled | paint mode |
vertices | vertices for the opi |
info | which opi |
tag | object to be associated with this overlay |
|
protectedvirtual |
overrideable creation function for overlay wrapper objects
Reimplemented from OverlayPluginBase.
|
protectedpure virtual |
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)
Implemented in ArcOverlay, BitmapOverlay, CompassOverlay, FixedSizeBitmapOverlay, ImageOverlay, PenStyleOverlayPluginBase, PixelListOverlay, PolyLineOverlay, RotatedRectangleOverlay, TargetOverlay, and TextOverlay.
|
protectedvirtual |
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.
skipDestroyAndCreate | set to true if the destroy-and- recreate step is to be omitted (e.g. if multiple settings are about to change) |