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.
|
getCommand, getCommandName, getIndex, getParameters, isTextShowOperator, reset, setIndex, toStringpublic 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 SetColorOperatorpublic void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
Copyright © 2021 Aspose. All Rights Reserved.