GraphicState

Inheritance: java.lang.Object, com.aspose.pdf.vector.GraphicState

public class GraphicState extends Object

Represents graphic state of the current {@link GraphicElement}.

Methods

MethodDescription
getClipsAndMatricesGets the operators representing clips and concatenation matrices.
getColorsAndStylesGets the operators representing colorspaces, colors and line styles.
getMatrixGets the current transformation matrix.
setMatrixGets the current transformation matrix.

getClipsAndMatrices

public final List < Operator > getClipsAndMatrices()

Gets the operators representing clips and concatenation matrices.

Returns: List of Operator instances

getColorsAndStyles

public final com.aspose.ms.System.Collections.Generic.SortedDictionary< Byte , Operator > getColorsAndStyles()

Gets the operators representing colorspaces, colors and line styles.

Returns: SortedDictionary instance

getMatrix

public final Matrix getMatrix()

Gets the current transformation matrix.

Returns: Matrix instance

setMatrix

Gets the current transformation matrix.