public class SetAdvancedColor extends BasicSetColorAndPatternOperator
Class representing scn operator (set color for non-stroking operations).
Constructor and Description |
---|
SetAdvancedColor()
Initializes operator.
|
SetAdvancedColor(double g)
Constructor for scn operartor
|
SetAdvancedColor(double c,
double m,
double y,
double k,
String patternName)
Constructor for scn operator.
|
SetAdvancedColor(double r,
double g,
double b,
String patterName)
Constructor for scn operator.
|
SetAdvancedColor(double g,
String patternName)
Constructor for scn operartor.
|
SetAdvancedColor(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()
Not supported yet.
|
getPatternName
getB, getC, getColorArray, getG, getGrey, getK, getM, getR, getY
clear, getCommand, getCommandName, getIndex, getParameters, getTrailerable, isTextShowOperator, reset, setIndex, toString, toString
public SetAdvancedColor(int index, com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Constructor for operator class.
index
- Index of operator.command
- Operator command.public SetAdvancedColor()
Initializes operator.
public SetAdvancedColor(double g, String patternName)
Constructor for scn operartor.
g
- Color value.patternName
- Pattern name.public SetAdvancedColor(double g)
Constructor for scn operartor
g
- Color value.public SetAdvancedColor(double r, double g, double b, String patterName)
Constructor for scn operator.
r
- Red component of the color.g
- Green component of the color.b
- Blue component of the color.patterName
- String objectpublic SetAdvancedColor(double c, double m, double y, double k, String patternName)
Constructor for scn operator.
c
- Cyan component of the color.m
- Magenta component of the color.y
- Yellow component of the color.k
- Black component of the color.patternName
- String objectpublic Color getColor()
Retuns color specified by operator.
getColor
in class SetColorOperator
public void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.