Class PdfColor
Inheritance
System.Object
PdfColor
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Azos.Media.dll
public class PdfColor : IPdfWritable, INamed
Properties
Declaration
Property Value
Type |
Description |
System.Byte |
|
Declaration
public static PdfColor Black { get; }
Property Value
Declaration
public static PdfColor Blue { get; }
Property Value
Declaration
public static PdfColor Cyan { get; }
Property Value
Declaration
public static PdfColor DarkBlue { get; }
Property Value
Declaration
public static PdfColor DarkCyan { get; }
Property Value
Declaration
public static PdfColor DarkGray { get; }
Property Value
Declaration
public static PdfColor DarkGreen { get; }
Property Value
Declaration
public static PdfColor DarkOrange { get; }
Property Value
Declaration
public static PdfColor DarkPurple { get; }
Property Value
Declaration
public static PdfColor DarkRed { get; }
Property Value
Declaration
public static PdfColor DarkYellow { get; }
Property Value
Declaration
Property Value
Type |
Description |
System.Byte |
|
Declaration
public static PdfColor Gray { get; }
Property Value
Declaration
public static PdfColor Green { get; }
Property Value
Declaration
public static PdfColor LghtCyan { get; }
Property Value
Declaration
public static PdfColor LghtGray { get; }
Property Value
Declaration
public static PdfColor LightBlue { get; }
Property Value
Declaration
public static PdfColor LightGreen { get; }
Property Value
Declaration
public static PdfColor LightOrange { get; }
Property Value
Declaration
public static PdfColor LightPurple { get; }
Property Value
Declaration
public static PdfColor LightRed { get; }
Property Value
Declaration
public static PdfColor LightYellow { get; }
Property Value
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
Declaration
public static PdfColor Orange { get; }
Property Value
Declaration
public static PdfColor Purple { get; }
Property Value
Declaration
Property Value
Type |
Description |
System.Byte |
|
Declaration
public static PdfColor Red { get; }
Property Value
Declaration
public static PdfColor White { get; }
Property Value
Declaration
public static PdfColor Yellow { get; }
Property Value
Methods
Returns existing color by name or throws if it is not found
Declaration
public static PdfColor ByName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Returns existing color by name or creates and registers a new one
Declaration
public static PdfColor ByName(string name, byte r, byte g, byte b)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Byte |
r |
|
System.Byte |
g |
|
System.Byte |
b |
|
Returns
Declaration
public bool Equals(PdfColor other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Returns PDF string representation
Declaration
public string ToPdfString()
Returns
Type |
Description |
System.String |
|
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Implements
Extension Methods