Table of Contents

Class PDColor

Namespace
Org.Apache.Pdfbox.Pdmodel.Graphics.Color
Assembly
MASES.NetPDF.dll
public class PDColor : JVMBridgeBase<PDColor>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
PDColor
Implements

Constructors

PDColor(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public PDColor(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

PDColor(COSArray, PDColorSpace)

public PDColor(COSArray arg0, PDColorSpace arg1)

Parameters

arg0 COSArray

COSArray

arg1 PDColorSpace

PDColorSpace

PDColor(COSName, PDColorSpace)

public PDColor(COSName arg0, PDColorSpace arg1)

Parameters

arg0 COSName

COSName

arg1 PDColorSpace

PDColorSpace

PDColor(float[], COSName, PDColorSpace)

public PDColor(float[] arg0, COSName arg1, PDColorSpace arg2)

Parameters

arg0 float[]

float

arg1 COSName

COSName

arg2 PDColorSpace

PDColorSpace

PDColor(float[], PDColorSpace)

public PDColor(float[] arg0, PDColorSpace arg1)

Parameters

arg0 float[]

float

arg1 PDColorSpace

PDColorSpace

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

ColorSpace

public PDColorSpace ColorSpace { get; }

Property Value

PDColorSpace

Components

public float[] Components { get; }

Property Value

float[]

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

PatternName

public COSName PatternName { get; }

Property Value

COSName

Methods

CreatePoolableInstance(COSArray, PDColorSpace)

HPA initializer for PDColor(Org.Apache.Pdfbox.Cos.COSArray arg0, Org.Apache.Pdfbox.Pdmodel.Graphics.Color.PDColorSpace arg1)

public static PDColor CreatePoolableInstance(COSArray arg0, PDColorSpace arg1)

Parameters

arg0 COSArray
arg1 PDColorSpace

Returns

PDColor

CreatePoolableInstance(COSName, PDColorSpace)

HPA initializer for PDColor(Org.Apache.Pdfbox.Cos.COSName arg0, Org.Apache.Pdfbox.Pdmodel.Graphics.Color.PDColorSpace arg1)

public static PDColor CreatePoolableInstance(COSName arg0, PDColorSpace arg1)

Parameters

arg0 COSName
arg1 PDColorSpace

Returns

PDColor

CreatePoolableInstance(float[], COSName, PDColorSpace)

HPA initializer for PDColor(float[] arg0, Org.Apache.Pdfbox.Cos.COSName arg1, Org.Apache.Pdfbox.Pdmodel.Graphics.Color.PDColorSpace arg2)

public static PDColor CreatePoolableInstance(float[] arg0, COSName arg1, PDColorSpace arg2)

Parameters

arg0 float[]
arg1 COSName
arg2 PDColorSpace

Returns

PDColor

CreatePoolableInstance(float[], PDColorSpace)

HPA initializer for PDColor(float[] arg0, Org.Apache.Pdfbox.Pdmodel.Graphics.Color.PDColorSpace arg1)

public static PDColor CreatePoolableInstance(float[] arg0, PDColorSpace arg1)

Parameters

arg0 float[]
arg1 PDColorSpace

Returns

PDColor

IsPattern()

public bool IsPattern()

Returns

bool

bool

ToCOSArray()

public COSArray ToCOSArray()

Returns

COSArray

COSArray

ToRGB()

public int ToRGB()

Returns

int

int

Exceptions

IOException