CVB.Net 14.0
RotatedRectangleOverlay Class Reference

A Rotated Rect. More...

Inherits ExtendedOverlayPluginBase< PluginData.RotatedRectPlugInData >.

Public Member Functions

 RotatedRectangleOverlay (string text, bool canDrag, System.Drawing.Color color, bool xorPaint, bool filled, Point location, int width, int height, Angle rotation, object tag)
 Standard Constructor for rotated rectangle overlays. More...
 
 RotatedRectangleOverlay (string text, bool canDrag, System.Drawing.Color color, bool xorPaint, bool filled, Point location, int width, int height, Angle rotation)
 Standard Constructor for rotated rectangle overlays. More...
 
override OverlayPluginBase Clone ()
 virtual copy constructor More...
 

Protected Member Functions

override PluginData.RotatedRectPlugInData CreatePluginData ()
 Create the plugin data structure for later use More...
 
- Protected Member Functions inherited from ExtendedOverlayPluginBase< PluginData.RotatedRectPlugInData >
 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

Point Location [get, set]
 Position of the left top corner of the Rectangle
 
int Width [get, set]
 Width of the rectangle.
 
int Height [get, set]
 Height of the rectangle.
 
Angle Rotation [get, set]
 Rotation of the rectangle
 

Additional Inherited Members

- Protected Attributes inherited from ExtendedOverlayPluginBase< PluginData.RotatedRectPlugInData >
TData opiData_
 The plugin-specific data structure
 

Detailed Description

A Rotated Rect.

Constructor & Destructor Documentation

◆ RotatedRectangleOverlay() [1/2]

RotatedRectangleOverlay ( string  text,
bool  canDrag,
System.Drawing.Color  color,
bool  xorPaint,
bool  filled,
Point  location,
int  width,
int  height,
Angle  rotation,
object  tag 
)

Standard Constructor for rotated rectangle overlays.

Parameters
textstatus line text
canDragdrag-ability
locationpaint position
colorcolor of the rotated rectangle
filledpaint filled (true) or empty (false)
heightheight of the rectangle
widthwidth of the rectangle
rotationrotation of the rectangle
xorPaintpaint mode of the rectangle
tagobject to be associated with this overlay

◆ RotatedRectangleOverlay() [2/2]

RotatedRectangleOverlay ( string  text,
bool  canDrag,
System.Drawing.Color  color,
bool  xorPaint,
bool  filled,
Point  location,
int  width,
int  height,
Angle  rotation 
)

Standard Constructor for rotated rectangle overlays.

Parameters
textstatus line text
canDragdrag-ability
locationpaint position
colorcolor of the rotated rectangle
filledpaint filled (true) or empty (false)
heightheight of the rectangle
widthwidth of the rectangle
rotationrotation of the rectangle
xorPaintpaint mode of the rectangle

Member Function Documentation

◆ Clone()

override OverlayPluginBase Clone ( )

virtual copy constructor

Returns
The cloned RotatedRectangleOverlay object.

◆ CreatePluginData()

override PluginData.RotatedRectPlugInData CreatePluginData ( )
protectedvirtual

Create the plugin data structure for later use

Returns
The overlay plugin data structure.

Implements ExtendedOverlayPluginBase< PluginData.RotatedRectPlugInData >.