public class GL2ES2ColorHelper extends AbstractColorHelper implements UniformBufferObject.ColorHook
Constructor and Description |
---|
GL2ES2ColorHelper() |
GL2ES2ColorHelper(GL2ES2ImagePipeline pipeline) |
Modifier and Type | Method and Description |
---|---|
void |
copyArea(int x,
int y,
int width,
int height,
int dx,
int dy) |
float |
getAlpha() |
float[] |
getRGBA() |
void |
setColorNoRespectComposite(Color c) |
void |
setColorRespectComposite(Color c) |
void |
setG2D(GLGraphics2D g2d)
Sets the current
GLGraphics2D parent. |
void |
setPaintMode() |
void |
setXORMode(Color c) |
dispose, getBackground, getColor, getComposite, getPaint, pop, push, resetHints, setBackground, setColor, setComposite, setHint, setPaint
public GL2ES2ColorHelper()
public GL2ES2ColorHelper(GL2ES2ImagePipeline pipeline)
public void setG2D(GLGraphics2D g2d)
G2DDrawingHelper
GLGraphics2D
parent. The current GL
and
GLContext
objects can be accessed from this. This should clear all
internal stacks in the helper object because previous painting iterations
may not have called dispose() for each time they called create().setG2D
in interface G2DDrawingHelper
setG2D
in class AbstractColorHelper
g2d
- The parent context for subsequent drawing operations.public void setColorNoRespectComposite(Color c)
setColorNoRespectComposite
in interface GLG2DColorHelper
public void setColorRespectComposite(Color c)
setColorRespectComposite
in interface GLG2DColorHelper
public void setPaintMode()
setPaintMode
in interface GLG2DColorHelper
public void setXORMode(Color c)
setXORMode
in interface GLG2DColorHelper
public void copyArea(int x, int y, int width, int height, int dx, int dy)
copyArea
in interface GLG2DColorHelper
public float getAlpha()
getAlpha
in interface UniformBufferObject.ColorHook
public float[] getRGBA()
getRGBA
in interface UniformBufferObject.ColorHook
Copyright © 2010-2013. All Rights Reserved.