GraphicsState

Inheritance: java.lang.Object

public class GraphicsState

Represents the state of a Graphics object. This object is returned by a call to the Save methods. This class cannot be inherited.

Constructors

ConstructorDescription
GraphicsState()Initializes a new instance of the GraphicsState class.

Methods

MethodDescription
getClip()
setClip(Region value)
getTransform()
setTransform(Matrix value)
getBounds()Gets the bounds.
setBounds(RectangleF value)Sets the bounds.

GraphicsState()

public GraphicsState()

Initializes a new instance of the GraphicsState class.

getClip()

public final Region getClip()

Returns: Region

setClip(Region value)

public final void setClip(Region value)

Parameters:

ParameterTypeDescription
valueRegion

getTransform()

public Matrix getTransform()

Returns: Matrix

setTransform(Matrix value)

public final void setTransform(Matrix value)

Parameters:

ParameterTypeDescription
valueMatrix

getBounds()

public final RectangleF getBounds()

Gets the bounds.

Returns: RectangleF

setBounds(RectangleF value)

public final void setBounds(RectangleF value)

Sets the bounds.

Parameters:

ParameterTypeDescription
valueRectangleF