• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class DeviceGrayColorSpace

DeviceGray color space (spec §8.6.3). A single-component gray color space where 0 is black and 1 is white.

Inheritance
object
ColorSpace
DeviceGrayColorSpace
Implements
IEquatable<ColorSpace>
Inherited Members
ColorSpace.Family
ColorSpace.DeviceGray()
ColorSpace.DeviceRgb()
ColorSpace.DeviceCmyk()
ColorSpace.Pattern()
ColorSpace.Equals(object)
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
Namespace: DRIT.Pdf.Content
Assembly: DRIT.Pdf.dll
Syntax
public sealed class DeviceGrayColorSpace : ColorSpace, IEquatable<ColorSpace>

Constructors

DeviceGrayColorSpace()

Initializes a DeviceGray color space.

Declaration
public DeviceGrayColorSpace()

Methods

Equals(ColorSpace?)

Indicates whether this color space equals another.

Declaration
public override bool Equals(ColorSpace? other)
Parameters
Type Name Description
ColorSpace other
Returns
Type Description
bool
Overrides
ColorSpace.Equals(ColorSpace?)

GetHashCode()

Returns a hash code for this color space.

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
ColorSpace.GetHashCode()

Operators

operator ==(DeviceGrayColorSpace?, DeviceGrayColorSpace?)

Equality operator.

Declaration
public static bool operator ==(DeviceGrayColorSpace? a, DeviceGrayColorSpace? b)
Parameters
Type Name Description
DeviceGrayColorSpace a
DeviceGrayColorSpace b
Returns
Type Description
bool

operator !=(DeviceGrayColorSpace?, DeviceGrayColorSpace?)

Inequality operator.

Declaration
public static bool operator !=(DeviceGrayColorSpace? a, DeviceGrayColorSpace? b)
Parameters
Type Name Description
DeviceGrayColorSpace a
DeviceGrayColorSpace b
Returns
Type Description
bool

Implements

IEquatable<T>
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX