Package com.github.weisj.jsvg.util
Class GraphicsResetHelper
java.lang.Object
com.github.weisj.jsvg.util.GraphicsResetHelper
A utility class that holds a
Graphics2D object and is able to reset it back to its original configuration,
as this is often more efficient than creating a new graphics instance.
This class does not track what parameters have been modified, nor does it reset all configuration parameters. Which
parameters are reset should be expanded as needed.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GraphicsResetHelper
-
-
Method Details
-
graphics
-
reset
public void reset()
-