Ink Class Documentation
class InkNamespace: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::string get_alias()Returns:
std::stringAn alternate name (alias) for this colorant.
get_angle
double get_angle()Returns:
doubleThe halftone screen angle for this ink, in degrees.
get_black
double get_black()Returns:
doubleThe black component of the CMYK color swatch.
get_blue
int get_blue()Returns:
intThe blue component of the RGB color swatch for on-screen display.
get_colorant_name
std::string get_colorant_name()Returns:
std::stringThe name of the colorant from the Separation or DeviceN color space, or the process color name.
get_cyan
double get_cyan()Returns:
doubleThe cyan component of the CMYK color swatch.
get_density
double get_density()Returns:
doubleThe neutral density of this ink.
get_frequency
double get_frequency()Returns:
doubleThe halftone screen frequency for this ink, in lines per inch.
get_green
int get_green()Returns:
intThe green component of the RGB color swatch for on-screen display.
get_ink_type
InkType get_ink_type()Returns:
InkTypeThe ink type of this ink, used for trapping.
get_is_process_color
bool get_is_process_color()Returns:
boolWhether this ink represents a process color or a spot color.
True if this is a process color, false if this is a spot color.
get_magenta
double get_magenta()Returns:
doubleThe magenta component of the CMYK color swatch.
get_preview_option
SeparationPreviewOption get_preview_option()Returns:
SeparationPreviewOptionHow the colorant is handled during a separation preview.
get_red
int get_red()Returns:
intThe red component of the RGB color swatch for on-screen display.
get_yellow
double get_yellow()Returns:
doubleThe yellow component of the CMYK color swatch.
operator=
Parameters
: Ink &&
Returns:
Ink &set_alias
void set_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
void set_angle(double angle)Parameters
angle: doublethe halftone screen angle for this ink, in degrees
Returns:
voidThe halftone screen angle for this ink, in degrees.
set_colorant_name
void set_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
void set_density(double density)Parameters
density: doublethe neutral density of this ink
Returns:
voidThe neutral density of this ink.
set_frequency
void set_frequency(double frequency)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
void set_ink_type(InkType type)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
void set_is_process_color(bool value)Parameters
value: boolthe whether this ink represents a process color or a spot color
Returns:
voidWhether this ink represents a process color or a spot color.
True if this is a process color, false if this is a spot color.
set_preview_option
void set_preview_option(SeparationPreviewOption option)Parameters
option: SeparationPreviewOptionthe how the colorant is handled during a separation preview
Returns:
voidHow the colorant is handled during a separation preview.