public class

Separation

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.Separation

Class Overview

Separation contains a memory buffer and CMYK components' information about rasterized separations used in PDFDraw.getSeparationBitmaps() and PDFRasterizer.rasterizeSeparations()

Note: This class is available on all platforms supported by PDFNet.

Summary

Public Constructors
Separation(String m_separation_name, byte[] m_data, byte c, byte m, byte y, byte k)
Separation constructor
Public Methods
byte C()
Gets Cyan component value in CMYK
byte K()
Gets Black component value in CMYK
byte M()
Gets Magenta component value in CMYK
byte Y()
Gets Yellow component value in CMYK
byte[] getData()
Gets data buffer
int getDataSize()
Gets data size of the separation
String getSeparationName()
Gets the name of the separation
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Separation (String m_separation_name, byte[] m_data, byte c, byte m, byte y, byte k)

Separation constructor

Public Methods

public byte C ()

Gets Cyan component value in CMYK

Returns
  • Cyan's value

public byte K ()

Gets Black component value in CMYK

Returns
  • Black's value

public byte M ()

Gets Magenta component value in CMYK

Returns
  • Magenta's value

public byte Y ()

Gets Yellow component value in CMYK

Returns
  • Yellow's value

public byte[] getData ()

Gets data buffer

Returns
  • data buffer array

public int getDataSize ()

Gets data size of the separation

Returns
  • data size

public String getSeparationName ()

Gets the name of the separation

Returns
  • Separation's name