Summary: Ctors | Methods | Inherited Methods | [Expand All]
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
boolean | equals(Object arg0)
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()

## 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

##### Throws

PDFNetException |

#### public byte K ()

Gets Black component value in CMYK

##### Returns

- Black's value

##### Throws

PDFNetException |

#### public byte M ()

Gets Magenta component value in CMYK

##### Returns

- Magenta's value

##### Throws

PDFNetException |

#### public byte Y ()

Gets Yellow component value in CMYK

##### Returns

- Yellow's value

##### Throws

PDFNetException |

#### public byte[] getData ()

Gets data buffer

##### Returns

- data buffer array

##### Throws

PDFNetException |

#### public int getDataSize ()

Gets data size of the separation

##### Returns

- data size

##### Throws

PDFNetException |

#### public String getSeparationName ()

Gets the name of the separation

##### Returns

- Separation's name

##### Throws

PDFNetException |