GS

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

ConstructorDescription
GS(int index, ICommand command)Constructor for operator class.
GS(String name)Initializes gs operator.

Methods

MethodDescription
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:

ParameterTypeDescription
indexintIndex of operator.
commandICommandOperator command.

GS(String name)

public GS(String name)

Initializes gs operator.

Parameters:

ParameterTypeDescription
namejava.lang.StringName 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:

ParameterTypeDescription
valuejava.lang.StringString 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:

ParameterTypeDescription
visitorIOperatorSelectorVisitor object.