org.apache.poi.hwmf.draw

## Class HwmfGraphicsState

- java.lang.Object
- - org.apache.poi.hwmf.draw.HwmfGraphicsState

-     @Internal
      public class HwmfGraphicsState
      extends java.lang.Object

  An util class for saving the state of a `Graphics2D` object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HwmfGraphicsState()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `backup(java.awt.Graphics2D graphics2D)` Saves the state of the graphics2D object
    `void` | `restore(java.awt.Graphics2D graphics2D)` Retrieves the state into the graphics2D object

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### HwmfGraphicsState

          public HwmfGraphicsState()

  - ### Method Detail

    - #### backup

          public void backup(java.awt.Graphics2D graphics2D)

      Saves the state of the graphics2D object

    - #### restore

          public void restore(java.awt.Graphics2D graphics2D)

      Retrieves the state into the graphics2D object

Copyright 2020 The Apache Software Foundation or its licensors, as applicable.