Click or drag to resize
Pdf Library for .NET

Color Methods

The Color type exposes the following members.

Methods
 NameDescription
Public methodEquals(Color)Indicates whether this color and the specified Color have the same ARGB value.
Public methodEquals(Object)Indicates whether this color and the specified object have the same value.
(Overrides ValueTypeEquals(Object))
Public methodStatic memberFromArgb(Int32) Constructs a color from a raw 32-bit ARGB value (layout: AARRGGBB).
Public methodStatic memberFromArgb(Int32, Color) Constructs a color by replacing the alpha component of an existing color.
Public methodStatic memberFromArgb(Int32, Int32, Int32) Constructs a fully-opaque color from the given red/green/blue components.
Public methodStatic memberFromArgb(Int32, Int32, Int32, Int32) Constructs a color with the given alpha/red/green/blue components. Each value is clamped to 0–255.
Public methodGetHashCodeReturns the hash code for this color.
(Overrides ValueTypeGetHashCode)
Public methodToArgbGets the raw 32-bit ARGB value (layout: AARRGGBB).
Public methodToStringReturns a string representation of this Color (its A, R, G and B components).
(Overrides ValueTypeToString)
Top
See Also