SmartRectOverlay Class

CVB.Net Documentation
A rectangle object
Inheritance Hierarchy

SystemObject
  Stemmer.Cvb.Forms.OverlaysOverlayBase
    Stemmer.Cvb.Forms.OverlaysOverlayPluginBase
      Stemmer.Cvb.Forms.OverlaysSmartRectOverlay

Namespace:  Stemmer.Cvb.Forms.Overlays
Assembly:  Stemmer.Cvb.Forms (in Stemmer.Cvb.Forms.dll) Version: 14.0.0.0
Syntax

public class SmartRectOverlay : OverlayPluginBase

The SmartRectOverlay type exposes the following members.

Constructors

  NameDescription
Public methodSmartRectOverlay(String, Boolean, Color, Boolean, Boolean, Rect)
Constructor for a Smart Rectangle Overlay.
Public methodSmartRectOverlay(String, Boolean, Color, Boolean, Boolean, Rect, Object)
Constructor for a Smart Rectangle Overlay.
Top
Properties

  NameDescription
Public propertyColor
Color of the label
(Inherited from OverlayBase.)
Protected propertyDisplayID
The ID under which the unmanaged display "knows" the label
(Inherited from OverlayBase.)
Public propertyFilled
Specifies whether or not the OPI should be painted filled
(Inherited from OverlayPluginBase.)
Public propertyInvokeRequired
tell whether actions on the display object require an invoke action or not (being user interface objects, display objects should not be modified asynchronously)
(Inherited from OverlayBase.)
Public propertyIsDragable
Label dragable?
(Inherited from OverlayBase.)
Public propertyName
Friendly name of the overlay plugin
(Inherited from OverlayPluginBase.)
Public propertyParent
The display on which the label lives (if any...). Note that a label may only be associated with one display at a time
(Inherited from OverlayBase.)
Public propertyTag
Field for user-definable data to be associated with the overlay object.
(Inherited from OverlayBase.)
Public propertyText
Text being displayed on the label and/or in the status line
(Inherited from OverlayBase.)
Public propertyXORPainting
specifies the paint mode (opaque or XOR)
(Inherited from OverlayPluginBase.)
Top
Methods

  NameDescription
Public methodClone
Virtual copy Constructor.
(Overrides OverlayPluginBaseClone.)
Protected methodCreateOverlayWrapper
Overrideable creation function for overlay wrapper objects
(Inherited from OverlayPluginBase.)
Protected methodDestroyAndCreatePropertyChanged
Method to be called whenever a property value changed that necessitates a destroy + create in order to reflect the property change on the actual display.
(Inherited from OverlayBase.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnConnectToDisplay
hook into the "ConnectToDisplay" method to patch the problem that the OPI only paints its drag boxes upon the first refresh...
(Overrides OverlayBaseOnConnectToDisplay(Display).)
Protected methodOnDisconnectFromDisplay
Disconnect the object from its parent display.
(Inherited from OverlayBase.)
Protected methodOverlay_ConnectedToDisplay
Connect the overlay plugin to the display by means of an OPI wrapper
(Inherited from OverlayPluginBase.)
Protected methodOverlay_DisconnectedFromDisplay
Remove an OPI from a display (effectively: kill it...)
(Inherited from OverlayPluginBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Operators

  NameDescription
Public operatorStatic member(SmartRectOverlay to Rect)
Typecasting to System.Drawing.Rectangle makes life easier
Top
Fields

  NameDescription
Protected fieldcolor_
Internally stored color.
(Inherited from OverlayBase.)
Protected fieldopiInfo_
information about the OPI that is being used by this object
(Inherited from OverlayPluginBase.)
Protected fieldvertices_
Array with the most up-to-date construction vertices
(Inherited from OverlayPluginBase.)
Top
See Also

Reference