Class Ink

java.lang.Object
com.datalogics.PDFL.Ink

public class Ink extends Object
The ink object represents the color in the color space, CYMK or RGB.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    Another name for this colorant.
    double
    The angle for this ink.
    double
    Values for display of a colorswatch in a CMYK color space.
    int
    RGB values for on-screen display of a colorswatch.
    The name of the colorant from the Separation or DeviceN color space, or the process color name.
    byte[]
    The name of the colorant from the Separation or DeviceN color space, or the process color name.
    double
    Values for display of a colorswatch in a CMYK color space.
    double
    The density for this ink.
    double
    The frequency for this ink.
    int
    RGB values for on-screen display of a colorswatch.
    The ink type of this ink for trapping.
    boolean
    True if this is a process color, false if this is a spot color.
    double
    Values for display of a colorswatch in a CMYK color space.
    How to handle the colorant for a separation preview.
    int
    RGB values for on-screen display of a colorswatch.
    double
    Values for display of a colorswatch in a CMYK color space.
    void
    setAlias(String theAlias)
    Another name for this colorant.
    void
    setAngle(double theAngle)
    The angle for this ink.
    void
    setColorantName(String theColorantName)
    The name of the colorant from the Separation or DeviceN color space, or the process color name.
    void
    setDensity(double theDensity)
    The density for this ink.
    void
    setFrequency(double theFrequency)
    The frequency for this ink.
    void
    setInkType(InkTypes theInkType)
    The ink type of this ink for trapping.
    void
    setIsProcessColor(boolean theSetting)
    True if this is a process color, false if this is a spot color.
    void
    How to handle the colorant for a separation preview.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • delete

      public void delete()
    • getColorantNameArray

      public byte[] getColorantNameArray()
      The name of the colorant from the Separation or DeviceN color space, or the process color name. NOTE: This property is suitable for retrieving the name when the ColorantName can't be retrieved as a string.
    • getColorantName

      public String getColorantName()
      The name of the colorant from the Separation or DeviceN color space, or the process color name.
    • setColorantName

      public void setColorantName(String theColorantName)
      The name of the colorant from the Separation or DeviceN color space, or the process color name.
    • getIsProcessColor

      public boolean getIsProcessColor()
      True if this is a process color, false if this is a spot color.
    • setIsProcessColor

      public void setIsProcessColor(boolean theSetting)
      True if this is a process color, false if this is a spot color.
    • getFrequency

      public double getFrequency()
      The frequency for this ink.
    • setFrequency

      public void setFrequency(double theFrequency)
      The frequency for this ink.
    • getAngle

      public double getAngle()
      The angle for this ink.
    • setAngle

      public void setAngle(double theAngle)
      The angle for this ink.
    • getDensity

      public double getDensity()
      The density for this ink.
    • setDensity

      public void setDensity(double theDensity)
      The density for this ink.
    • getInkType

      public InkTypes getInkType()
      The ink type of this ink for trapping.
    • setInkType

      public void setInkType(InkTypes theInkType)
      The ink type of this ink for trapping.
    • getPreviewOption

      public SeparationPreviewOptions getPreviewOption()
      How to handle the colorant for a separation preview.
    • setPreviewOption

      public void setPreviewOption(SeparationPreviewOptions thePreviewOption)
      How to handle the colorant for a separation preview.
    • getAlias

      public String getAlias()
      Another name for this colorant.
    • setAlias

      public void setAlias(String theAlias)
      Another name for this colorant.
    • getRed

      public int getRed()
      RGB values for on-screen display of a colorswatch.
    • getGreen

      public int getGreen()
      RGB values for on-screen display of a colorswatch.
    • getBlue

      public int getBlue()
      RGB values for on-screen display of a colorswatch.
    • getCyan

      public double getCyan()
      Values for display of a colorswatch in a CMYK color space.
    • getMagenta

      public double getMagenta()
      Values for display of a colorswatch in a CMYK color space.
    • getYellow

      public double getYellow()
      Values for display of a colorswatch in a CMYK color space.
    • getBlack

      public double getBlack()
      Values for display of a colorswatch in a CMYK color space.