public class SetAdvancedColorStroke extends BasicSetColorAndPatternOperator
Class representing SCN operator (set color for stroking operations).
Constructor and Description |
---|
SetAdvancedColorStroke()
Initializes operator.
|
SetAdvancedColorStroke(double g)
Constructor for scn operator
|
SetAdvancedColorStroke(double c,
double m,
double y,
double k,
String patternName)
Constructor for scn operator.
|
SetAdvancedColorStroke(double r,
double g,
double b,
String patternName)
Constructor for scn operator.
|
SetAdvancedColorStroke(double g,
String patternName)
Constructor for scn operator.
|
SetAdvancedColorStroke(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
getCommand, getCommandName, getIndex, getParameters, isTextShowOperator, reset, setIndex, toString, toString
public SetAdvancedColorStroke(int index, com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Constructor for operator class.
index
- Index of operator.command
- Operator command.public SetAdvancedColorStroke()
Initializes operator.
public SetAdvancedColorStroke(double g)
Constructor for scn operator
g
- double value
Gray color value.public SetAdvancedColorStroke(double g, String patternName)
Constructor for scn operator.
g
- Gray color value.patternName
- String value
Name of the pattern.public SetAdvancedColorStroke(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
- String objectpublic SetAdvancedColorStroke(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 colorpatternName
- Name of the pattern.public Color getColor()
Returns color specified by operator.
getColor
in class SetColorOperator
public void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
Copyright © 2021 Aspose. All Rights Reserved.