Java org.apache.pdfbox.pdmodel.graphics.color PDColor fields, constructors, methods, implement or subclass

Example usage for Java org.apache.pdfbox.pdmodel.graphics.color PDColor fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.pdfbox.pdmodel.graphics.color PDColor.

The text is from its open source code.

Constructor

PDColor(COSArray array, PDColorSpace colorSpace)
Creates a PDColor containing the given color value.
PDColor(float[] components, PDColorSpace colorSpace)
Creates a PDColor containing the given color component values.
PDColor(COSName patternName, PDColorSpace colorSpace)
Creates a PDColor containing the given pattern name.

Method

PDColorSpacegetColorSpace()
Returns the color space in which this color value is defined.
float[]getComponents()
Returns the components of this color value.