public class SetGray extends SetColorOperator
Set gray level for non-stroking operations.
Constructor and Description |
---|
SetGray(double gray)
Constructor for writing program.
|
SetGray(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()
Returns color specified by operator.
|
String |
toString()
Returns string represnetation of operator.
|
clear, getCommand, getCommandName, getIndex, getParameters, getTrailerable, isTextShowOperator, reset, setIndex, toString
public SetGray(int index, com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Constructor for operator class.
index
- Index of operator.command
- Operator command.public SetGray(double gray)
Constructor for writing program.
gray
- The level of gray value.public Color getColor()
Returns color specified by operator.
getColor
in class SetColorOperator
public void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.