LIGeometry Member Details

LIGeometry Public Fields


LIGeometry Public Enumerations


LIGeometry Constructors
New
Instantiates LIGeometry based on the Graph calling this Class
Public Sub New(ByVal Caller As ProtoGraph)
Remarks:
Parameters:
ByVal Caller As ProtoGraph
New
The plain-vanilla Constructor
Public Sub New()
Remarks:
Parameters:


LIGeometry Public Properties
CallingGraph
The Graph, viz., a Dot, which instantiates and uses this Class Category:
Public Property CallingGraph() As ProtoGraph
Remarks:
IndexParameters:
Return Value:
ProtoGraph


LIGeometry Public Methods
DiagLIBreakPointIncrementX
DiagLIBreakPointIncrementX and -Y depend on LIWidth and the angle of the diag; they are designed to keep the LI's resulting from a BreakDot in Line
Public Shared Function DiagLIBreakPointIncrementX(ByVal W As Int32, ByVal H As Int32, ByVal LIWidth As Int32) As Int32
Remarks:
Parameters:
ByVal W As Int32
ByVal H As Int32
ByVal LIWidth As Int32
Return Value:
Int32
DiagLIBreakPointIncrementY
DiagLIBreakPointIncrementY and -X depend on LIWidth and the angle of the diag; they are designed to keep the LI's resulting from a BreakDot in Line
Public Shared Function DiagLIBreakPointIncrementY(ByVal W As Int32, ByVal H As Int32, ByVal LIWidth As Int32) As Int32
Remarks:
Parameters:
ByVal W As Int32
ByVal H As Int32
ByVal LIWidth As Int32
Return Value:
Int32
DiagonalLI
Computes a GraphicsPath bounding visible Region of a Diagonal Line of Identity defined by a Bounding Rectangle, a Drag Direction, and a Line of Identity Width
Public Shared Function DiagonalLI(ByVal BoundingRect As Rectangle, ByVal DiagonalDirection As DragDirection, ByVal LIWidth As Int32) As GraphicsPath
Remarks:
Parameters:
ByVal BoundingRect As Rectangle
ByVal DiagonalDirection As DragDirection
ByVal LIWidth As Int32
Return Value:
GraphicsPath
DiagonalLI
Computes a GraphicsPath bounding visible Region of a Diagonal Line of Identity defined by a Bounding Rectangle, the Drag Direction of CallingGraph, and a Line of Identity Width
Public Function DiagonalLI(ByVal BoundingRect As Rectangle, ByVal LIWidth As Int32) As GraphicsPath
Remarks:
Parameters:
ByVal BoundingRect As Rectangle
ByVal LIWidth As Int32
Return Value:
GraphicsPath
DiagonalLInwse
Computes a GraphicsPath bounding visible Region of a NW to SE Diagonal Line of Identity
Public Shared Function DiagonalLInwse(ByVal BoundingRect As Rectangle, ByVal LIWidth As Int32) As GraphicsPath
Remarks:
Parameters:
ByVal BoundingRect As Rectangle
ByVal LIWidth As Int32
Return Value:
GraphicsPath
DiagonalLIswne
Computes a GraphicsPath bounding visible Region of a SW to NE Diagonal Line of Identity
Public Shared Function DiagonalLIswne(ByVal BoundingRect As Rectangle, ByVal LIWidth As Int32) As GraphicsPath
Remarks:
Parameters:
ByVal BoundingRect As Rectangle
ByVal LIWidth As Int32
Return Value:
GraphicsPath
HorizontalLI
Computes a GraphicsPath bounding visible Region of a Horizontal Line of Identity
Public Shared Function HorizontalLI(ByVal LILength As Int32, ByVal LIWidth As Int32) As GraphicsPath
Remarks:
Parameters:
ByVal LILength As Int32
ByVal LIWidth As Int32
Return Value:
GraphicsPath
RotationalNumbers
Calculates certain numbers associated with a Diagonal
Public Shared Sub RotationalNumbers(ByVal inP0 As Point, ByVal inR As Int32, ByVal inW As Int32, ByVal inH As Int32, ByRef outAng As Single, ByRef outPHi As Point, ByRef outPLo As Point)
Remarks:
inP0 is the central given point; inR, radius of circle, is LIWidth / 2; inW and inH are width and height of bounding rectangle; outAng is the angle of the diag, measured Clockwise from +x axis; outPHi and outPLo are the calculated points on the diameter of the inR radius circle centered at inP0 h and w are + or - depending on direction of diagonal
Parameters:
ByVal inP0 As Point
ByVal inR As Int32
ByVal inW As Int32
ByVal inH As Int32
ByRef outAng As Single
ByRef outPHi As Point
ByRef outPLo As Point
Return Value:
Void
SetEndPointsDiagonal
Computes and passes Point Objects for the end-points of a given Diagonal Line of Identity
Public Shared Sub SetEndPointsDiagonal(ByVal LIWidth As Int32, ByVal Width As Int32, ByVal Height As Int32, ByVal DragDir As DragDirection, ByRef E0 As Point, ByRef E1 As Point)
Remarks:
Parameters:
ByVal LIWidth As Int32
ByVal Width As Int32
ByVal Height As Int32
ByVal DragDir As DragDirection
ByRef E0 As Point
ByRef E1 As Point
Return Value:
Void
SetEndPointsHorizontal
Computes and passes Point Objects for the end-points of a given Horizontal Line of Identity
Public Shared Sub SetEndPointsHorizontal(ByVal LIWidth As Int32, ByVal Width As Int32, ByRef E0 As Point, ByRef E1 As Point)
Remarks:
Parameters:
ByVal LIWidth As Int32
ByVal Width As Int32
ByRef E0 As Point
ByRef E1 As Point
Return Value:
Void
SetEndPointsVertical
Computes and passes Point Objects for the end-points of a given Vertical Line of Identity
Public Shared Sub SetEndPointsVertical(ByVal LIWidth As Int32, ByVal Height As Int32, ByRef E0 As Point, ByRef E1 As Point)
Remarks:
Parameters:
ByVal LIWidth As Int32
ByVal Height As Int32
ByRef E0 As Point
ByRef E1 As Point
Return Value:
Void
SwooshNWSEBeziers01
Computes a GraphicsPath bounding visible Region of a NW to SE Swoosh-shaped Line of Identity
Public Shared Function SwooshNWSEBeziers01(ByVal BoundingRect As Rectangle, ByVal LIWidth As Int32) As GraphicsPath
Remarks:
Parameters:
ByVal BoundingRect As Rectangle
ByVal LIWidth As Int32
Return Value:
GraphicsPath
SwooshSWNEBeziers01
Computes a GraphicsPath bounding visible Region of a SW to NE Swoosh-shaped Line of Identity
Public Shared Function SwooshSWNEBeziers01(ByVal BoundingRect As Rectangle, ByVal LIWidth As Int32) As GraphicsPath
Remarks:
Parameters:
ByVal BoundingRect As Rectangle
ByVal LIWidth As Int32
Return Value:
GraphicsPath
VerticalLI
Computes a GraphicsPath bounding visible Region of a Vertical Line of Identity
Public Shared Function VerticalLI(ByVal LILength As Int32, ByVal LIWidth As Int32) As GraphicsPath
Remarks:
Parameters:
ByVal LILength As Int32
ByVal LIWidth As Int32
Return Value:
GraphicsPath


LIGeometry Public Events