ColorQueue Member Details

ColorQueue Public Fields


ColorQueue Public Enumerations


ColorQueue Constructors
New
Instantiates a ColorQueue whose members are defined by ARGB Values in a given Array of Integers
Public Sub New(ByVal ARGBValues As Int32[])
Remarks:
Parameters:
ByVal ARGBValues As Int32[]
New
Instantiates a ColorQueue associated with a given SheetOfAssertion; initially set up for Dot Colors
Public Sub New(ByVal Root As SheetOfAssertion)
Remarks:
Parameters:
ByVal Root As SheetOfAssertion
New
The Plain-Vanilla Constructor; initially set up for Dot Colors
Public Sub New()
Remarks:
Parameters:


ColorQueue Public Properties
ColorQ
The Queue at the heart of this Class Category: Behavior
Public Property ColorQ() As Queue
Remarks:
IndexParameters:
Return Value:
Queue
DotColors
This list of ARGB Values is the sequence of colors used by default as Dot (LI) Colors Category:
Public ReadOnly Property DotColors() As Int32[]
Remarks:
IndexParameters:
Return Value:
Int32[]
NamedColors
This list of ARGB Values is the Known Windows Colors, alphabetical, less duplicates (Fuschia for Magenta and Aqua for Cyan) and certain Complements (Lime (00FF00), Red, Yellow, White) Category:
Public ReadOnly Property NamedColors() As Int32[]
Remarks:
IndexParameters:
Return Value:
Int32[]
NextColorPeek
Produces Color at Top of Queue, BUT DOESN'T REMOVE IT FROM QUEUE Category: Behavior
Public ReadOnly Property NextColorPeek() As Color
Remarks:
IndexParameters:
Return Value:
Color
NextIndexPeek
Returns ARGB for Color at Top of Queue, BUT DOESN'T REMOVE IT FROM QUEUE Category: Behavior
Public ReadOnly Property NextIndexPeek() As Int32
Remarks:
IndexParameters:
Return Value:
Int32
RootSA
Root of the Graph-Tree Category: Behavior
Public Property RootSA() As SheetOfAssertion
Remarks:
IndexParameters:
Return Value:
SheetOfAssertion


ColorQueue Public Methods
DemoteColor
Finds and Removes a given Color from the Queue, and places it at the end of the Queue
Public Sub DemoteColor(ByVal TargetColor As Color)
Remarks:
Parameters:
ByVal TargetColor As Color
Return Value:
Void
DemoteColor
Finds and Removes a given ColorARGB from the Queue, and places it at the end of the Queue
Public Sub DemoteColor(ByVal TargetARGB As Int32)
Remarks:
Parameters:
ByVal TargetARGB As Int32
Return Value:
Void
GetNextColor
Returns Color at Top of Queue and removes it from the Queue
Public Function GetNextColor() As Color
Remarks:
Parameters:
Return Value:
Color
HexForARGB
Converts a System.Drawing.Color value to a Hex String (Only Hex Digits; no Prefix)
Public Shared Function HexForARGB(ByVal Col As Color) As String
Remarks:
Parameters:
ByVal Col As Color
Return Value:
String
HexForARGB
Converts an Integer Color ARGB value to a Hex String (Only Hex Digits; no Prefix)
Public Shared Function HexForARGB(ByVal ARGB As Int32) As String
Remarks:
Parameters:
ByVal ARGB As Int32
Return Value:
String
HexForARGB
Returns a Hex String (Only Hex Digits; no Prefix) corresponding to a given KNOWN COLOR NAME
Public Shared Function HexForARGB(ByVal KnownColorName As String) As String
Remarks:
Parameters:
ByVal KnownColorName As String
Return Value:
String
KnownColorSubList
Returns Array of ARGBs for KnownColors Beginning at Start and Ending at Last
Public Shared Function KnownColorSubList(ByVal Start As KnownColor, ByVal Last As KnownColor, Optional ByVal PrefixArgent As Boolean=False) As Int32[]
Remarks:
If PrefixArgent = True, then the Array will begin with Black, the Verso of the Argent Tincture
Parameters:
ByVal Start As KnownColor
ByVal Last As KnownColor
Optional ByVal PrefixArgent As Boolean =False
Return Value:
Int32[]
ListColorQueue
Outputs a List of the Colors on the Color Queue
Public Function ListColorQueue() As String
Remarks:
Parameters:
Return Value:
String
ListKnownColors
Passes Arrays of information about the Colors in the KnownColor Enum; returns a listing of their Names, ARGBs, and Enum Values
Public Shared Function ListKnownColors(ByRef ColorNames As String[], ByRef ARGBs As Int32[], ByRef KCValues As Int32[]) As String
Remarks:
Parameters:
ByRef ColorNames As String[]
ByRef ARGBs As Int32[]
ByRef KCValues As Int32[]
Return Value:
String
RecycleColor
(Overloaded) Takes a ColorARGB and places it at the end of the Queue
Public Sub RecycleColor(ByVal OldColor As Int32)
Remarks:
Parameters:
ByVal OldColor As Int32
Return Value:
Void
RecycleColor
(Overloaded) Takes a ColorARGB and places it at the end of the Queue
Public Sub RecycleColor(ByVal OldColor As Color)
Remarks:
Parameters:
ByVal OldColor As Color
Return Value:
Void
RecycleColor
(Overloaded) Takes a ColorARGB and places it at the end of the Queue
Public Sub RecycleColor(ByVal OldDotColor As DotColor)
Remarks:
Parameters:
ByVal OldDotColor As DotColor
Return Value:
Void
SetColorQueue
Sets the ColorQueue based on an Array of Integers representing ARGB Color Values; returns a reference to that Queue
Public Function SetColorQueue(ByVal ARGBValues As Int32[]) As Queue
Remarks:
Parameters:
ByVal ARGBValues As Int32[]
Return Value:
Queue


ColorQueue Public Events