public class SetCMYKColor extends SetColorOperator
Class representing k operator (set CMYK color for non-stroknig operations).
Constructor and Description |
---|
SetCMYKColor(double c,
double m,
double y,
double k)
Initializes operator.
|
SetCMYKColor(int index,
com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command) |
Modifier and Type | Method and Description |
---|---|
void |
accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
|
Color |
getColor()
Returns color.
|
void |
getRGBColor(double[] cmyk,
double[] rgbOut) |
clear, getCommand, getCommandName, getIndex, getParameters, getTrailerable, isTextShowOperator, reset, setIndex, toString, toString
public SetCMYKColor(double c, double m, double y, double k)
Initializes operator.
c
- The level of cyan from 0.0 to 1.0m
- The level of magenta from 0.0 to 1.0y
- The level of yellow from 0.0 to 1.0k
- The level of black from 0.0 to 1.0public SetCMYKColor(int index, com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
public Color getColor()
Returns color.
getColor
in class SetColorOperator
public void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
public void getRGBColor(double[] cmyk, double[] rgbOut)