RGB Class |
Namespace: NetQuarry
The RGB type exposes the following members.
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | 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.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Shade |
Shades (darkens) the item's color.
If the r, g, b values are known, returns the HTML #rrggbb string of the color shaded by the specified percent.
If the r, g, b values are not known, returns the original color string.
See http://stackoverflow.com/questions/6615002/given-an-rgb-value-how-do-i-create-a-tint-or-shade for the simple shading algorithm.
|
![]() | Tint |
Tints (lightens) the item's color.
If the r, g, b values are known, returns the HTML #rrggbb string of the color tinted by the specified percent.
If the r, g, b values are not known, returns the original color string.
See http://stackoverflow.com/questions/6615002/given-an-rgb-value-how-do-i-create-a-tint-or-shade for the simple tinting algorithm.
|
![]() | ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | b |
The color's blue component.
|
![]() | Color |
The HTML color.
|
![]() | g |
The color's green component.
|
![]() | r |
The color's red component.
|
Name | Description | |
---|---|---|
![]() | EqualValue |
Determines if the object value is equal to another object. If the two objects are null, then this returns true.
There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways).
If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.) |