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 operator
|
SetAdvancedColor(double[] colors,
String patternName)
Constructor for scn operator.
|
SetAdvancedColor(double c,
double m,
double y,
double k,
String patternName)
Constructor for scn operator.
|
SetAdvancedColor(double r,
double g,
double b,
String patternName)
Constructor for scn operator.
|
SetAdvancedColor(double g,
String patternName)
Constructor for scn operator.
|
SetAdvancedColor(int index,
com.aspose.pdf.engine.commondata.pagecontent.operators.color.SetAdvancedNonstrokingColor command)
Constructor for operator class.
|
SetAdvancedColor(String patternName)
Constructor for scn operator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
|
Color |
getColor()
Not supported yet.
|
getPatternNamegetB, getC, getColorArray, getG, getGray, getK, getM, getR, getYcreateFromCommandName, equals, getCommand, getCommandName, getIndex, isTextShowOperator, setIndex, toString, valueEqualspublic SetAdvancedColor(int index,
com.aspose.pdf.engine.commondata.pagecontent.operators.color.SetAdvancedNonstrokingColor 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 operator.
g - Color value.patternName - Pattern name.public SetAdvancedColor(double g)
Constructor for scn operator
g - Color value.public SetAdvancedColor(double r,
double g,
double b,
String patternName)
Constructor for scn operator.
r - Red component of the color.g - Green component of the color.b - Blue component of the color.patternName - Pattern name.public 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 object Pattern name.public SetAdvancedColor(String patternName)
Constructor for scn operator.
patternName - Pattern name.public SetAdvancedColor(double[] colors,
String patternName)
Constructor for scn operator.
patternName - Pattern name.colors - Color array.public Color getColor()
Returns color specified by operator.
getColor in class SetColorOperatorpublic void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
Copyright © 2025 Aspose. All Rights Reserved.