public class GraphicsConfig
extends java.lang.Object
Constructor and Description |
---|
GraphicsConfig(java.awt.Graphics g) |
Modifier and Type | Method and Description |
---|---|
GraphicsConfig |
disableAAPainting() |
java.awt.Graphics2D |
getG() |
GraphicsConfig |
paintWithAlpha(float alpha) |
void |
restore() |
GraphicsConfig |
setAlpha(float alpha) |
GraphicsConfig |
setAntialiasing(boolean on) |
GraphicsConfig |
setComposite(java.awt.Composite composite) |
GraphicsConfig |
setRenderingHint(java.awt.RenderingHints.Key hintKey,
java.lang.Object hintValue) |
GraphicsConfig |
setStroke(java.awt.Stroke stroke) |
GraphicsConfig |
setupAAPainting() |
GraphicsConfig |
setupRoundedBorderAntialiasing() |
public GraphicsConfig setAntialiasing(boolean on)
public GraphicsConfig setAlpha(float alpha)
public GraphicsConfig setRenderingHint(java.awt.RenderingHints.Key hintKey, java.lang.Object hintValue)
public java.awt.Graphics2D getG()
public GraphicsConfig setComposite(java.awt.Composite composite)
public GraphicsConfig setStroke(java.awt.Stroke stroke)
public GraphicsConfig setupRoundedBorderAntialiasing()
public GraphicsConfig setupAAPainting()
public GraphicsConfig disableAAPainting()
public GraphicsConfig paintWithAlpha(float alpha)
public void restore()