public class SetCMYKColor extends SetColorOperator
Class representing k operator (set CMYK color for non-stroking 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) |
getCommand, getCommandName, getIndex, getParameters, isTextShowOperator, reset, setIndex, toString, toStringpublic 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 SetColorOperatorpublic void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
public void getRGBColor(double[] cmyk,
double[] rgbOut)
Copyright © 2022 Aspose. All Rights Reserved.