com.spire.pdf.colorspace
Class PdfSeparationColor

java.lang.Object
  extended by com.spire.pdf.colorspace.PdfComplexColor
      extended by com.spire.pdf.colorspace.PdfSeparationColor

public class PdfSeparationColor
extends PdfComplexColor

Represents a separation color, based on a separation colorspace.


Constructor Summary
PdfSeparationColor(PdfColorSpaces colorspace, float tint)
          Initializes a new instance of the class.
 
Method Summary
 float getTint()
          Gets acceptable range for this value is [0.0 1.0].
 void setTint(float value)
          Sets acceptable range for this value is [0.0 1.0].
 

Constructor Detail

PdfSeparationColor

public PdfSeparationColor(PdfColorSpaces colorspace,
                          float tint)
Initializes a new instance of the class.

Parameters:
colorspace - The colorspace.
tint - The acceptable range for this value is [0.0 1.0]. 0.0 means the lightest color that can be achieved, and 1.0 means the darkest color.
Method Detail

getTint

public float getTint()
Gets acceptable range for this value is [0.0 1.0]. 0.0 means the lightest color that can be achieved, and 1.0 means the darkest color.


setTint

public void setTint(float value)
Sets acceptable range for this value is [0.0 1.0]. 0.0 means the lightest color that can be achieved, and 1.0 means the darkest color.