|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ijchart.xychart.ui.Graphics2DState
public final class Graphics2DState
Title: IJChart
Description: a chart library for the Java(tm) platform.
用于存储及恢复当前的Graphics2d的各种状态,如:composite,clip shape,paint,stroke,font等等.Copyright: Copyright (c) 2013
Company:
Constructor Summary | |
---|---|
Graphics2DState(java.awt.Graphics2D g2)
当前的图形环境 (不可为null). |
Method Summary | |
---|---|
void |
restoreOldState()
恢复旧的状态. |
void |
restoreTransform()
恢复AffineTransform. |
void |
saveOldState()
保存旧的状态. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Graphics2DState(java.awt.Graphics2D g2)
g2
- Graphics2DMethod Detail |
---|
public void saveOldState()
public void restoreOldState()
public void restoreTransform()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |