public class SetRGBColorStroke extends SetColorOperator
Class representing RG operator (set RGB color for stroking operators).
Constructor and Description |
---|
SetRGBColorStroke(Color color)
Initializes operator with color.
|
SetRGBColorStroke(double r,
double g,
double b)
Constructor for writing program.
|
SetRGBColorStroke(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.
|
void |
getCMYKColor(double[] rgb,
double[] cmykOut) |
Color |
getColor()
Returns color specified by operator.
|
String |
toString()
Returns text representation of operator.
|
clear, getCommand, getCommandName, getIndex, getParameters, getTrailerable, isTextShowOperator, reset, setIndex, toString
public SetRGBColorStroke(int index, com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Constructor for operator class.
index
- Index of operator.command
- Operator command.public SetRGBColorStroke(double r, double g, double b)
Constructor for writing program.
r
- The level of red from 0.0 to 1.0g
- The level of green from 0.0 to 1.0b
- The level of blue from 0.0 to 1.0public SetRGBColorStroke(Color color)
Initializes operator with color.
color
- java.awt.Color objectpublic Color getColor()
Returns color specified by operator.
getColor
in class SetColorOperator
public void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
public String toString()
Returns text representation of operator.
public void getCMYKColor(double[] rgb, double[] cmykOut)