ThinkGeo.MapSuite.Drawing.GeoColor
Inheritance Hierarchy
Members Summary
Public Constructors
GeoColor()
Parameters
GeoColor(Int32,Int32,Int32)
Parameters
GeoColor(Int32,Int32,Int32,Int32)
Parameters
GeoColor(Int32,GeoColor)
Parameters
Protected Constructors
GeoColor(String,ColorType,Int32,Int32,Int32,Int32)
Parameters
name
Type:String
Description:N/A
alpha
Type:Int32
Description:N/A
red
Type:Int32
Description:N/A
green
Type:Int32
Description:N/A
blue
Type:Int32
Description:N/A
Public Methods
ToString()
Return Value
Type:String
Description:N/A
Parameters
Equals(Object)
Return Value
Parameters
GetHashCode()
Return Value
Parameters
GetType()
Return Value
Type:Type
Description:N/A
Parameters

GetColorsInHueFamily(GeoColor,Int32)
This method is useful when you want to get a number of colors that have the same hue. For example, you can use this in maps that represent class breaks. If you passed in a red hue, then the method would return variations such as light red, dark red, pastel red, etc.
Return Value
Parameters

GetColorsInQualityFamily(GeoColor,Int32)
This method is useful when you want to get a number of different colors that have the same quality. For example, you can use this in maps that represent countries or connected places. If you passed in bright red, then the method would return variants such as bright blue, bright green, etc. If you passed in dark red, you would get dark blue, dark green, etc.
Return Value
Parameters

GetColorsInQualityFamily(GeoColor,GeoColor,Int32,ColorWheelDirection)
Return Value
Parameters
numberOfColors
Type:Int32
Description:N/A

FromArgb(Int32,Int32,Int32,Int32)
Return Value
Parameters

FromArgb(Int32,GeoColor)
Return Value
Parameters

FromAhsl(Int32,Single,Single,Single)
Return Value
Parameters

FromOle(Int32)
Return Value
Parameters

FromHtml(String)
Return Value
-
Description:This method returns a GeoColor from an
HTML color (either in hexadecimal or a named color).
Parameters
htmlColor
Type:String
Description:This parameter represents the
HTML color that you want to convert.

GetRandomGeoColor(RandomColorType)
Return Value
Parameters

GetRandomGeoColor(Int32,RandomColorType)
Return Value
Parameters

FromWin32(Int32)
Return Value
Parameters

ToOle(GeoColor)
Return Value
Parameters

ToHtml(GeoColor)
Return Value
Type:String
Description:This method returns an
HTML color from a GeoColor.
Parameters

ToWin32(GeoColor)
Return Value
Parameters
Protected Methods
Finalize()
Return Value
Type:Void
Description:N/A
Parameters
MemberwiseClone()
Return Value
Type:Object
Description:N/A
Parameters
Public Properties
IsTransparent
Return Value
HtmlColor
Return Value
Ahsl
Return Value
Argb
Return Value
AlphaComponent
Return Value
RedComponent
Return Value
GreenComponent
Return Value
BlueComponent
Return Value
Hue
Return Value
Saturation
Return Value
Luminance
Return Value
Protected Properties
NameAndARGBValue
Return Value
Public Events