Represents a color in an RGB color space.

Inheritance Hierarchy

System.Object
  BitMiracle.Docotic.Pdf.PdfColor
    BitMiracle.Docotic.Pdf.PdfRgbColor

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public sealed class PdfRgbColor : PdfColor
VB
Public NotInheritable Class PdfRgbColor
	Inherits PdfColor

The PdfRgbColor type exposes the following members.

Constructors

  NameDescription
Public methodPdfRgbColor(Color)
Initializes a new instance of the PdfRgbColor class.
Public methodPdfRgbColor(Int32)
Initializes a new instance of the PdfRgbColor class.
Public methodPdfRgbColor(PdfColorProfile, Color)
Initializes a new instance of the PdfRgbColor class.
Public methodPdfRgbColor(PdfColorProfile, Int32)
Initializes a new instance of the PdfRgbColor class.
Public methodPdfRgbColor(Int32, Int32, Int32)
Initializes a new instance of the PdfRgbColor class.
Public methodPdfRgbColor(PdfColorProfile, Int32, Int32, Int32)
Initializes a new instance of the PdfRgbColor class.

Properties

  NameDescription
Public propertyB
Gets the blue component value.
Public propertyColorProfile
Gets the ICC color profile associated with this PdfColor.
(Inherited from PdfColor.)
Public propertyG
Gets the green component value.
Public propertyR
Gets the red component value.

Methods

  NameDescription
Public methodDarken
Darkens the current PdfColor by the specified percentage.
(Inherited from PdfColor.)
Public methodEquals
Determines whether the specified Object is equal to this instance.
(Inherited from PdfColor.)
Public methodGetHashCode
Returns a hash code for this instance.
(Inherited from PdfColor.)
Public methodGetType (Inherited from Object.)
Public methodLighten
Lightens the current PdfColor by the specified percentage.
(Inherited from PdfColor.)
Public methodToColor
Converts this PdfRgbColor to the equivalent Color structure.
(Overrides PdfColor.ToColor().)
Public methodToString
Returns a String that represents this instance.
(Overrides Object.ToString().)

See Also