Class Colors
Inheritance
System.Object
Colors
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Experior.Core.dll
Syntax
public static class Colors
Fields
Empty
Declaration
public static readonly Color Empty
Field Value
Type |
Description |
System.Windows.Media.Color |
|
Properties
BELTCOLOR
Declaration
public static Color BELTCOLOR { get; }
Property Value
Type |
Description |
System.Windows.Media.Color |
|
DefaultControlColorGray
Declaration
public static Color DefaultControlColorGray { get; }
Property Value
Type |
Description |
System.Windows.Media.Color |
|
DefaultControlColorGreen
Declaration
public static Color DefaultControlColorGreen { get; }
Property Value
Type |
Description |
System.Windows.Media.Color |
|
DefaultControlColorYellow
Declaration
public static Color DefaultControlColorYellow { get; }
Property Value
Type |
Description |
System.Windows.Media.Color |
|
FREEZECOLOR
Declaration
public static Color FREEZECOLOR { get; }
Property Value
Type |
Description |
System.Windows.Media.Color |
|
LogBlue
Declaration
public static Color LogBlue { get; }
Property Value
Type |
Description |
System.Windows.Media.Color |
|
LogGreen
Declaration
public static Color LogGreen { get; }
Property Value
Type |
Description |
System.Windows.Media.Color |
|
LogOrange
Declaration
public static Color LogOrange { get; }
Property Value
Type |
Description |
System.Windows.Media.Color |
|
LogRed
Declaration
public static Color LogRed { get; }
Property Value
Type |
Description |
System.Windows.Media.Color |
|
LogTeal
Declaration
public static Color LogTeal { get; }
Property Value
Type |
Description |
System.Windows.Media.Color |
|
Scheme
Declaration
public static Dictionary<byte, Color> Scheme { get; }
Property Value
Type |
Description |
System.Collections.Generic.Dictionary<System.Byte, System.Windows.Media.Color> |
|
Transparent
Declaration
public static Color Transparent { get; }
Property Value
Type |
Description |
System.Windows.Media.Color |
|
XCELGOCOLOR
Declaration
public static Color XCELGOCOLOR { get; }
Property Value
Type |
Description |
System.Windows.Media.Color |
|
Methods
Declaration
public static Color AsTransparent(this Color color, byte alpha = 128)
Parameters
Type |
Name |
Description |
System.Windows.Media.Color |
color |
|
System.Byte |
alpha |
|
Returns
Type |
Description |
System.Windows.Media.Color |
|
GetBlueIntensity(Byte)
Declaration
public static Color GetBlueIntensity(byte value)
Parameters
Type |
Name |
Description |
System.Byte |
value |
|
Returns
Type |
Description |
System.Windows.Media.Color |
|
GetBlueIntensity(Int16)
Declaration
public static Color GetBlueIntensity(short value)
Parameters
Type |
Name |
Description |
System.Int16 |
value |
|
Returns
Type |
Description |
System.Windows.Media.Color |
|
GetBlueIntensity(Int32)
Declaration
public static Color GetBlueIntensity(int value)
Parameters
Type |
Name |
Description |
System.Int32 |
value |
|
Returns
Type |
Description |
System.Windows.Media.Color |
|
Declaration
public static string GetColorName(Color col)
Parameters
Type |
Name |
Description |
System.Windows.Media.Color |
col |
|
Returns
Type |
Description |
System.String |
|
GetGreenIntensity(Byte)
Declaration
public static Color GetGreenIntensity(byte value)
Parameters
Type |
Name |
Description |
System.Byte |
value |
|
Returns
Type |
Description |
System.Drawing.Color |
|
GetGreenIntensity(Int16)
Declaration
public static Color GetGreenIntensity(short value)
Parameters
Type |
Name |
Description |
System.Int16 |
value |
|
Returns
Type |
Description |
System.Drawing.Color |
|
GetGreenIntensity(Int32)
Declaration
public static Color GetGreenIntensity(int value)
Parameters
Type |
Name |
Description |
System.Int32 |
value |
|
Returns
Type |
Description |
System.Drawing.Color |
|
GetRandomColor()
Declaration
public static Color GetRandomColor()
Returns
Type |
Description |
System.Windows.Media.Color |
|
GetRandomColor(UInt32, UInt32, UInt32, UInt32, UInt32, UInt32)
Declaration
public static Color GetRandomColor(uint minR, uint maxR, uint minG, uint maxG, uint minB, uint maxB)
Parameters
Type |
Name |
Description |
System.UInt32 |
minR |
|
System.UInt32 |
maxR |
|
System.UInt32 |
minG |
|
System.UInt32 |
maxG |
|
System.UInt32 |
minB |
|
System.UInt32 |
maxB |
|
Returns
Type |
Description |
System.Windows.Media.Color |
|
GetRandomSuitcaseColor()
Declaration
public static Color GetRandomSuitcaseColor()
Returns
Type |
Description |
System.Windows.Media.Color |
|
GetRedIntensity(Byte)
Declaration
public static Color GetRedIntensity(byte value)
Parameters
Type |
Name |
Description |
System.Byte |
value |
|
Returns
Type |
Description |
System.Drawing.Color |
|
GetRedIntensity(Int16)
Declaration
public static Color GetRedIntensity(short value)
Parameters
Type |
Name |
Description |
System.Int16 |
value |
|
Returns
Type |
Description |
System.Drawing.Color |
|
GetRedIntensity(Int32)
Declaration
public static Color GetRedIntensity(int value)
Parameters
Type |
Name |
Description |
System.Int32 |
value |
|
Returns
Type |
Description |
System.Drawing.Color |
|
Declaration
public static Color Invert(Color color)
Parameters
Type |
Name |
Description |
System.Windows.Media.Color |
color |
|
Returns
Type |
Description |
System.Windows.Media.Color |
|
Declaration
public static bool IsEmpty(this Color color)
Parameters
Type |
Name |
Description |
System.Windows.Media.Color |
color |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static uint ToUint(this Color c)
Parameters
Type |
Name |
Description |
System.Windows.Media.Color |
c |
|
Returns
Type |
Description |
System.UInt32 |
|