GS
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.Operator
public class GS extends Operator
Class representing gs operator (set parameters from graphic state parameter dictionary).
Constructors
Constructor | Description |
---|---|
GS(int index, ICommand command) | Constructor for operator class. |
GS(String name) | Initializes gs operator. |
Methods
Method | Description |
---|---|
getName() | Gets name of graphic state resource. |
setName(String value) | Sets name of graphic state resource. |
toString() | Returns string represnetation of operator. |
accept(IOperatorSelector visitor) | Accepts visitor object to process operator. |
GS(int index, ICommand command)
public GS(int index, ICommand command)
Constructor for operator class.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | Index of operator. |
command | ICommand | Operator command. |
GS(String name)
public GS(String name)
Initializes gs operator.
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | Name of graphic state. |
getName()
public String getName()
Gets name of graphic state resource.
Returns: java.lang.String - String value
setName(String value)
public void setName(String value)
Sets name of graphic state resource.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | String value |
toString()
public String toString()
Returns string represnetation of operator.
Returns: java.lang.String - String representation of operator.
accept(IOperatorSelector visitor)
public void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
Parameters:
Parameter | Type | Description |
---|---|---|
visitor | IOperatorSelector | Visitor object. |