public class SetCMYKColorStroke extends SetColorOperator
Class representing K operator (set CMYK color for stroking operations).
Constructor and Description |
---|
SetCMYKColorStroke(double c,
double m,
double y,
double k)
Initializes operator.
|
SetCMYKColorStroke(int index,
com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Constructor for operator class.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
|
Color |
getColor()
Returns the RGB color
|
void |
getRGBColor(double[] cmyk,
double[] rgbOut) |
clear, getCommand, getCommandName, getIndex, getParameters, getTrailerable, isTextShowOperator, reset, setIndex, toString, toString
public SetCMYKColorStroke(int index, com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Constructor for operator class.
index
- Index of operator.command
- Operator command.public SetCMYKColorStroke(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 Color getColor()
Returns the RGB color
getColor
in class SetColorOperator
public void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
public void getRGBColor(double[] cmyk, double[] rgbOut)