Class PdfColor
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
Represents a PDF color. This class is a base class for PdfCmykColor, PdfGrayColor, PdfIndexedColor, PdfLabColor, PdfRgbColor and PdfSpotColor.
public abstract class PdfColor
- Inheritance
-
PdfColor
- Derived
- Inherited Members
Remarks
A PDF color value consists of one or more color components and, optionally, associated ICC color profile.
The Docotic.Pdf Library Documentation page contains links to articles, guides, and sample code.
Properties
- ColorProfile
Gets the ICC color profile associated with this PdfColor.
Methods
- Darken(int)
Darkens the current PdfColor by the specified percentage.
- Equals(object?)
Determines whether the specified object is equal to this PdfColor instance.
- GetHashCode()
Returns a hash code for this PdfColor instance.
- Lighten(int)
Lightens the current PdfColor by the specified percentage.