Ink Class Documentation
classInkNamespace:datalogics_interface
Detailed Description
The ink object represents the color in the color space, CYMK or RGB.
Referenced by
Uses types
Constructor & Destructor Documentation
Member Function Documentation
get_alias
std::stringget_alias()Returns:
std::stringAn alternate name (alias) for this colorant.
get_angle
doubleget_angle()Returns:
doubleThe halftone screen angle for this ink, in degrees.
get_black
doubleget_black()Returns:
doubleThe black component of the CMYK color swatch.
get_blue
intget_blue()Returns:
intThe blue component of the RGB color swatch for on-screen display.
get_colorant_name
std::stringget_colorant_name()Returns:
std::stringThe name of the colorant from the Separation or DeviceN color space, or the process color name.
get_cyan
doubleget_cyan()Returns:
doubleThe cyan component of the CMYK color swatch.
get_density
doubleget_density()Returns:
doubleThe neutral density of this ink.
get_frequency
doubleget_frequency()Returns:
doubleThe halftone screen frequency for this ink, in lines per inch.
get_green
intget_green()Returns:
intThe green component of the RGB color swatch for on-screen display.
get_ink_type
InkTypeget_ink_type()Returns:
InkTypeThe ink type of this ink, used for trapping.
get_is_process_color
boolget_is_process_color()Returns:
boolTrue if this is a process color, false if this is a spot color.
get_magenta
doubleget_magenta()Returns:
doubleThe magenta component of the CMYK color swatch.
get_preview_option
SeparationPreviewOptionget_preview_option()Returns:
SeparationPreviewOptionHow the colorant is handled during a separation preview.
get_red
intget_red()Returns:
intThe red component of the RGB color swatch for on-screen display.
get_yellow
doubleget_yellow()Returns:
doubleThe yellow component of the CMYK color swatch.
operator=
Parameters
: Ink &&
Returns:
Ink &set_alias
voidset_alias(const std::string &alias)Parameters
alias: const std::string &an alternate name (alias) for this colorant
Returns:
voidAn alternate name (alias) for this colorant.
set_angle
voidset_angle(doubleangle)Parameters
angle: doublethe halftone screen angle for this ink, in degrees
Returns:
voidThe halftone screen angle for this ink, in degrees.
set_colorant_name
voidset_colorant_name(const std::string &name)Parameters
name: const std::string &the name of the colorant from the Separation or DeviceN color space, or the process color name
Returns:
voidThe name of the colorant from the Separation or DeviceN color space, or the process color name.
set_density
voidset_density(doubledensity)Parameters
density: doublethe neutral density of this ink
Returns:
voidThe neutral density of this ink.
set_frequency
voidset_frequency(doublefrequency)Parameters
frequency: doublethe halftone screen frequency for this ink, in lines per inch
Returns:
voidThe halftone screen frequency for this ink, in lines per inch.
set_ink_type
voidset_ink_type(InkTypetype)Parameters
type: InkTypethe ink type of this ink, used for trapping
Returns:
voidThe ink type of this ink, used for trapping.
set_is_process_color
voidset_is_process_color(boolvalue)Parameters
value: boolthe whether this ink represents a process color or a spot color
Returns:
voidTrue if this is a process color, false if this is a spot color.
set_preview_option
voidset_preview_option(SeparationPreviewOptionoption)Parameters
option: SeparationPreviewOptionthe how the colorant is handled during a separation preview
Returns:
voidHow the colorant is handled during a separation preview.