|
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 |
|
|
|
|