Grayscale
Represents a grayscale color.
public class Grayscale : DeviceColor
Public Class Grayscale
Inherits DeviceColor
Inheritance: ObjectColorDeviceColorGrayscale
Remarks
See the Colors topic for more on grayscale colors.
Constructors
Grayscale(Byte) | Initializes a new instance of the Grayscale class. |
Grayscale(Single) | Initializes a new instance of the Grayscale class. |
Properties
Black | Gets the color black. |
ColorSpace | Gets the color space for the color. |
Components | Gets the number of components for the device color. |
DarkGray | Gets the color dark gray. |
DimGray | Gets the color dim gray. |
Gray | Gets the color gray. |
GrayLevel | Gets the gray value. |
LightGrey | Gets the color light grey. |
Silver | Gets the color silver. |
White | Gets the color white. |
Methods
DrawFill(OperatorWriter) | Draws the color data to the given PageWriter object. |
DrawFill(PageWriter) | Draws the color data to the given PageWriter object. (Inherited from DeviceColor) |
DrawStroke(OperatorWriter) | Draws the color data to the given PageWriter object. |
DrawStroke(PageWriter) | Draws the color data to the given PageWriter object. (Inherited from DeviceColor) |
Equals(Object) | Tests equality of colors. |
GetHashCode() | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
ToString() | Returns a String that represents the current Object . (Inherited from Object) |
ToStringBuilder(StringBuilder) | Appends the color information to the given StringBuilder object. |