Color Methods

(see also Protected Methods )
  Name Description
Public method Static Add Adds two Color structures.
Public method Static AreClose Compares two Color structures for fuzzy equality.
Public method Clamp Sets the ScRGB components of this Color structure to within the gamut of 0 to 1, if they are outside this range.
Public method Equals Overloaded. Tests whether two Color structures are identical.
Public method Static FromArgb Creates a Color structure using the specified sRGB alpha component and color component values.
Public method Static FromAValues Creates a Color structure using the specified alpha component, color channel values, and color profile.
Public method Static FromRgb Creates a Color structure using the specified sRGB color component values and an alpha value of 1.
Public method Static FromScRgb Creates a Color structure using the specified ScRGB alpha component and color component values.
Public method Static FromValues Creates a Color structure with the specified color channel values, and color profile, and an alpha value of 1.
Public method GetHashCode Overridden. Gets a hashcode for this Color structure.
Public method GetNativeColorValues Gets the color channel values of the ColorContext.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static Multiply Multiplies the alpha, red, blue, and green channels of the specified Color structure by the specified value.
Public method Static op_Addition Adds two Color structures.
Public method Static op_Equality Tests whether two Color structures are exactly identical.
Public method Static op_Inequality Tests whether two Color structures are not identical.
Public method Static op_Multiply Multiplies the alpha, red, blue, and green channels of the specified Color structure by the specified value.
Public method Static op_Subtraction Subtracts a Color structure from a Color structure.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Static Subtract Subtracts a Color structure from a Color structure.
Public method ToString Overloaded. Overridden. Creates a String representation of this Color structure using the ScRGB components.
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

  Name Description
Explicit interface implementation Method System.IFormattable.ToString This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.
Top

Community Additions

ADD
Show: