MoveGraph Member Details

MoveGraph Public Fields


MoveGraph Public Enumerations
MoveState
The state of the movement being handled by this MoveGraph
Remarks:

Members:

Name Value Description
Quiet 0 Nothing going on
ReturnControl 1 Program control being passed back from MoveGraph Class
Working 2 Movement in process


MoveGraph Constructors
New
Instantiates MoveGraph based on Graph being Moved and MovementState
Public Sub New(ByVal Targ As ProtoGraph, ByVal MState As MoveState)
Remarks:
Moving Rectangle is White or Black depending on Best-Contrast-To BackColor
Parameters:
ByVal Targ As ProtoGraph
ByVal MState As MoveState
New
The plain-vanilla Constructor
Public Sub New()
Remarks:
Parameters:


MoveGraph Public Properties
Arena
ContainerGraph for the Target Category:
Public Property Arena() As ProtoGraph
Remarks:
IndexParameters:
Return Value:
ProtoGraph
DynaLoc
Dynamically computed Location of the Target Category: Behavior
Public ReadOnly Property DynaLoc() As Point
Remarks:
IndexParameters:
Return Value:
Point
DynaSize
Dynamically computed Size of the Target Category: Behavior
Public ReadOnly Property DynaSize() As Size
Remarks:
IndexParameters:
Return Value:
Size
MachineState
An index employed in managing the Move-Size Category: Behavior
Public Property MachineState() As MoveState
Remarks:
IndexParameters:
Return Value:
MoveState
MarqueeState
An index employed in managing the Move-Size Category: Behavior
Public Property MarqueeState() As Int32
Remarks:
IndexParameters:
Return Value:
Int32
MouseState
An index employed in managing the Move-Size Category: Behavior
Public Property MouseState() As Int32
Remarks:
IndexParameters:
Return Value:
Int32
Target
Graph to be moved or sized Category:
Public Property Target() As ProtoGraph
Remarks:
IndexParameters:
Return Value:
ProtoGraph


MoveGraph Public Methods
DrawMarq
Draws the Marquee based on the DynaLoc and DynaSize Properties
Public Sub DrawMarq(ByVal e As PaintEventArgs)
Remarks:
This is done with the MoverSizerPen
Parameters:
ByVal e As PaintEventArgs
Return Value:
Void
GetVanPointer
Picks Move-Size Pointer based on position of Mouse
Public Function GetVanPointer(ByVal Loc As Point) As Cursor
Remarks:
Parameters:
ByVal Loc As Point
Return Value:
Cursor
SetPointerMap
Establishes a Pointer Map based on the Target Control and certain sizing Parameters
Public Sub SetPointerMap()
Remarks:
Parameters:
Return Value:
Void


MoveGraph Public Events
MachineStateChanged
Occurs when MoveGraph.MachineState changes.
Public Event MachineStateChanged(ByVal NewState As MoveState)
Event Data:
The event handler receives an argument of Type MoveGraph.MoveState
EventHandler Parameters:
ByVal NewState As MoveState