| java.lang.Object java.awt.Graphics java.awt.Graphics2D javax.media.j3d.J3DGraphics2D javax.media.j3d.J3DGraphics2DImpl
J3DGraphics2DImpl | final class J3DGraphics2DImpl extends J3DGraphics2D (Code) | | Implementation class for J3DGraphics2D
|
Method Summary | |
final public void | addRenderingHints(Map hints) | void | clearOffScreen() | final public void | clip(Shape s) | final public void | clipRect(int x, int y, int width, int height) | final public void | copyArea(int x, int y, int width, int height, int dx, int dy) | void | copyDataToCanvas(int px, int py, int x1, int y1, int x2, int y2, int w, int h) | void | copyGraphics2D(Graphics2D oldg) | final void | copyImage(BufferedImage bi, byte[] image, int width, int height, int x1, int y1, int x2, int y2) | public void | dispose() | public void | doDispose() | void | doDrawAndFlushImage(BufferedImage img, int x, int y, ImageObserver observer) | void | doFlush() | final public void | draw(Shape s) | public void | draw3DRect(int x, int y, int width, int height, boolean raised) | public void | drawAndFlushImage(BufferedImage img, int x, int y, ImageObserver observer) | final public void | drawArc(int x, int y, int width, int height, int startAngle, int arcAngle) | public void | drawBytes(byte data, int offset, int length, int x, int y) | public void | drawChars(char data, int offset, int length, int x, int y) | final public void | drawGlyphVector(GlyphVector g, float x, float y) | final public boolean | drawImage(Image img, AffineTransform xform, ImageObserver obs) | final public void | drawImage(BufferedImage img, BufferedImageOp op, int x, int y) | final public boolean | drawImage(Image img, int x, int y, ImageObserver observer) | final public boolean | drawImage(Image img, int x, int y, int width, int height, ImageObserver observer) | final public boolean | drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) | final public void | drawImage(BufferedImage img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer) | final public boolean | drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer) | final public boolean | drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer) | final public boolean | drawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer) | final public void | drawLine(int x1, int y1, int x2, int y2) | final public void | drawOval(int x, int y, int width, int height) | final public void | drawPolygon(int xPoints, int yPoints, int nPoints) | public void | drawPolygon(Polygon p) | final public void | drawPolyline(int xPoints, int yPoints, int nPoints) | public void | drawRect(int x, int y, int width, int height) | final public void | drawRenderableImage(RenderableImage img, AffineTransform xform) | final public void | drawRenderedImage(RenderedImage img, AffineTransform xform) | final public void | drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) | final public void | drawString(AttributedCharacterIterator iterator, int x, int y) | final public void | drawString(AttributedCharacterIterator iterator, float x, float y) | final public void | drawString(String s, float x, float y) | final public void | drawString(String s, int x, int y) | final public void | fill(Shape s) | public void | fill3DRect(int x, int y, int width, int height, boolean raised) | final public void | fillArc(int x, int y, int width, int height, int startAngle, int arcAngle) | final public void | fillOval(int x, int y, int width, int height) | public void | fillPolygon(Polygon p) | final public void | fillPolygon(int xPoints, int yPoints, int nPoints) | final public void | fillRect(int x, int y, int width, int height) | final public void | fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) | public void | flush(boolean waiting) Flushes all previously executed rendering operations to the
drawing buffer for this 2D graphics object. | final public Shape | getClip() | public Rectangle | getClipBounds(Rectangle r) | final public Rectangle | getClipBounds() | public Rectangle | getClipRect() | final public Color | getColor() | final public Composite | getComposite() | final public GraphicsConfiguration | getDeviceConfiguration() | final public Font | getFont() | public FontMetrics | getFontMetrics() | final public FontMetrics | getFontMetrics(Font f) | final public FontRenderContext | getFontRenderContext() | static int | getGreaterPowerOf2(int x) | final public Paint | getPaint() | final public Object | getRenderingHint(Key hintKey) | final public RenderingHints | getRenderingHints() | final public Stroke | getStroke() | final public AffineTransform | getTransform() | final public boolean | hit(Rectangle rect, Shape s, boolean onStroke) | public boolean | hitClip(int x, int y, int width, int height) | void | init() | final public void | rotate(double theta) | final public void | rotate(double theta, double x, double y) | synchronized void | runMonitor(int action) MC may not scheduler Renderer thread or Renderer thread
may not process message FLUSH. | final public void | scale(double sx, double sy) | void | sendRenderMessage(boolean renderRun, int command, Object arg1, Object arg2, Object arg3) | final public void | setClip(Shape clip) | final public void | setClip(int x, int y, int width, int height) | final public void | setColor(Color c) | final public void | setComposite(Composite comp) | final public void | setFont(Font font) | final public void | setPaint(Paint paint) | final public void | setPaintMode() | final public void | setRenderingHint(Key hintKey, Object hintValue) | final public void | setRenderingHints(Map hints) | final public void | setStroke(Stroke s) | final public void | setTransform(AffineTransform Tx) | final public void | setXORMode(Color c1) | final public void | shear(double shx, double shy) | public String | toString() | final public void | transform(AffineTransform Tx) | final public void | translate(double tx, double ty) | final public void | translate(int x, int y) | final void | validate() | void | validate(float x1, float y1, float x2, float y2, AffineTransform xform) | void | validate(float x1, float y1, float x2, float y2) |
blackTransparent | final static Color blackTransparent(Code) | | |
addRenderingHints | final public void addRenderingHints(Map hints)(Code) | | |
clearOffScreen | void clearOffScreen()(Code) | | |
clipRect | final public void clipRect(int x, int y, int width, int height)(Code) | | |
copyArea | final public void copyArea(int x, int y, int width, int height, int dx, int dy)(Code) | | |
copyDataToCanvas | void copyDataToCanvas(int px, int py, int x1, int y1, int x2, int y2, int w, int h)(Code) | | |
copyImage | final void copyImage(BufferedImage bi, byte[] image, int width, int height, int x1, int y1, int x2, int y2)(Code) | | |
dispose | public void dispose()(Code) | | |
doDispose | public void doDispose()(Code) | | |
draw3DRect | public void draw3DRect(int x, int y, int width, int height, boolean raised)(Code) | | |
drawArc | final public void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle)(Code) | | |
drawBytes | public void drawBytes(byte data, int offset, int length, int x, int y)(Code) | | |
drawChars | public void drawChars(char data, int offset, int length, int x, int y)(Code) | | |
drawGlyphVector | final public void drawGlyphVector(GlyphVector g, float x, float y)(Code) | | |
drawImage | final public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer)(Code) | | |
drawImage | final public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer)(Code) | | |
drawLine | final public void drawLine(int x1, int y1, int x2, int y2)(Code) | | |
drawOval | final public void drawOval(int x, int y, int width, int height)(Code) | | |
drawPolygon | final public void drawPolygon(int xPoints, int yPoints, int nPoints)(Code) | | |
drawPolyline | final public void drawPolyline(int xPoints, int yPoints, int nPoints)(Code) | | |
drawRect | public void drawRect(int x, int y, int width, int height)(Code) | | |
drawRenderableImage | final public void drawRenderableImage(RenderableImage img, AffineTransform xform)(Code) | | |
drawRoundRect | final public void drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)(Code) | | |
drawString | final public void drawString(String s, float x, float y)(Code) | | |
drawString | final public void drawString(String s, int x, int y)(Code) | | |
fill3DRect | public void fill3DRect(int x, int y, int width, int height, boolean raised)(Code) | | |
fillArc | final public void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle)(Code) | | |
fillOval | final public void fillOval(int x, int y, int width, int height)(Code) | | |
fillPolygon | final public void fillPolygon(int xPoints, int yPoints, int nPoints)(Code) | | |
fillRect | final public void fillRect(int x, int y, int width, int height)(Code) | | |
fillRoundRect | final public void fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)(Code) | | |
flush | public void flush(boolean waiting)(Code) | | Flushes all previously executed rendering operations to the
drawing buffer for this 2D graphics object.
Parameters: wait - flag indicating whether or not to wait for therendering to be complete before returning from this call. |
getGreaterPowerOf2 | static int getGreaterPowerOf2(int x)(Code) | | Return an integer of power 2 greater than x
|
getRenderingHint | final public Object getRenderingHint(Key hintKey)(Code) | | |
hitClip | public boolean hitClip(int x, int y, int width, int height)(Code) | | |
rotate | final public void rotate(double theta)(Code) | | |
rotate | final public void rotate(double theta, double x, double y)(Code) | | |
runMonitor | synchronized void runMonitor(int action)(Code) | | MC may not scheduler Renderer thread or Renderer thread
may not process message FLUSH. This will hang user
thread.
|
scale | final public void scale(double sx, double sy)(Code) | | |
setClip | final public void setClip(int x, int y, int width, int height)(Code) | | |
setPaintMode | final public void setPaintMode()(Code) | | |
setRenderingHint | final public void setRenderingHint(Key hintKey, Object hintValue)(Code) | | |
setRenderingHints | final public void setRenderingHints(Map hints)(Code) | | |
shear | final public void shear(double shx, double shy)(Code) | | |
translate | final public void translate(double tx, double ty)(Code) | | |
translate | final public void translate(int x, int y)(Code) | | |
validate | final void validate()(Code) | | |
validate | void validate(float x1, float y1, float x2, float y2)(Code) | | |
Methods inherited from java.awt.Graphics2D | abstract public void addRenderingHints(Map, ?> hints)(Code)(Java Doc) abstract public void clip(Shape s)(Code)(Java Doc) abstract public void draw(Shape s)(Code)(Java Doc) public void draw3DRect(int x, int y, int width, int height, boolean raised)(Code)(Java Doc) abstract public void drawGlyphVector(GlyphVector g, float x, float y)(Code)(Java Doc) abstract public boolean drawImage(Image img, AffineTransform xform, ImageObserver obs)(Code)(Java Doc) abstract public void drawImage(BufferedImage img, BufferedImageOp op, int x, int y)(Code)(Java Doc) abstract public void drawRenderableImage(RenderableImage img, AffineTransform xform)(Code)(Java Doc) abstract public void drawRenderedImage(RenderedImage img, AffineTransform xform)(Code)(Java Doc) abstract public void drawString(String str, int x, int y)(Code)(Java Doc) abstract public void drawString(String str, float x, float y)(Code)(Java Doc) abstract public void drawString(AttributedCharacterIterator iterator, int x, int y)(Code)(Java Doc) abstract public void drawString(AttributedCharacterIterator iterator, float x, float y)(Code)(Java Doc) abstract public void fill(Shape s)(Code)(Java Doc) public void fill3DRect(int x, int y, int width, int height, boolean raised)(Code)(Java Doc) abstract public Color getBackground()(Code)(Java Doc) abstract public Composite getComposite()(Code)(Java Doc) abstract public GraphicsConfiguration getDeviceConfiguration()(Code)(Java Doc) abstract public FontRenderContext getFontRenderContext()(Code)(Java Doc) abstract public Paint getPaint()(Code)(Java Doc) abstract public Object getRenderingHint(Key hintKey)(Code)(Java Doc) abstract public RenderingHints getRenderingHints()(Code)(Java Doc) abstract public Stroke getStroke()(Code)(Java Doc) abstract public AffineTransform getTransform()(Code)(Java Doc) abstract public boolean hit(Rectangle rect, Shape s, boolean onStroke)(Code)(Java Doc) abstract public void rotate(double theta)(Code)(Java Doc) abstract public void rotate(double theta, double x, double y)(Code)(Java Doc) abstract public void scale(double sx, double sy)(Code)(Java Doc) abstract public void setBackground(Color color)(Code)(Java Doc) abstract public void setComposite(Composite comp)(Code)(Java Doc) abstract public void setPaint(Paint paint)(Code)(Java Doc) abstract public void setRenderingHint(Key hintKey, Object hintValue)(Code)(Java Doc) abstract public void setRenderingHints(Map, ?> hints)(Code)(Java Doc) abstract public void setStroke(Stroke s)(Code)(Java Doc) abstract public void setTransform(AffineTransform Tx)(Code)(Java Doc) abstract public void shear(double shx, double shy)(Code)(Java Doc) abstract public void transform(AffineTransform Tx)(Code)(Java Doc) abstract public void translate(int x, int y)(Code)(Java Doc) abstract public void translate(double tx, double ty)(Code)(Java Doc)
|
Methods inherited from java.awt.Graphics | abstract public void clearRect(int x, int y, int width, int height)(Code)(Java Doc) abstract public void clipRect(int x, int y, int width, int height)(Code)(Java Doc) abstract public void copyArea(int x, int y, int width, int height, int dx, int dy)(Code)(Java Doc) abstract public Graphics create()(Code)(Java Doc) public Graphics create(int x, int y, int width, int height)(Code)(Java Doc) abstract public void dispose()(Code)(Java Doc) public void draw3DRect(int x, int y, int width, int height, boolean raised)(Code)(Java Doc) abstract public void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle)(Code)(Java Doc) public void drawBytes(byte data, int offset, int length, int x, int y)(Code)(Java Doc) public void drawChars(char data, int offset, int length, int x, int y)(Code)(Java Doc) abstract public boolean drawImage(Image img, int x, int y, ImageObserver observer)(Code)(Java Doc) abstract public boolean drawImage(Image img, int x, int y, int width, int height, ImageObserver observer)(Code)(Java Doc) abstract public boolean drawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer)(Code)(Java Doc) abstract public boolean drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer)(Code)(Java Doc) abstract public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer)(Code)(Java Doc) abstract public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer)(Code)(Java Doc) abstract public void drawLine(int x1, int y1, int x2, int y2)(Code)(Java Doc) abstract public void drawOval(int x, int y, int width, int height)(Code)(Java Doc) abstract public void drawPolygon(int xPoints, int yPoints, int nPoints)(Code)(Java Doc) public void drawPolygon(Polygon p)(Code)(Java Doc) abstract public void drawPolyline(int xPoints, int yPoints, int nPoints)(Code)(Java Doc) public void drawRect(int x, int y, int width, int height)(Code)(Java Doc) abstract public void drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)(Code)(Java Doc) abstract public void drawString(String str, int x, int y)(Code)(Java Doc) abstract public void drawString(AttributedCharacterIterator iterator, int x, int y)(Code)(Java Doc) public void fill3DRect(int x, int y, int width, int height, boolean raised)(Code)(Java Doc) abstract public void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle)(Code)(Java Doc) abstract public void fillOval(int x, int y, int width, int height)(Code)(Java Doc) abstract public void fillPolygon(int xPoints, int yPoints, int nPoints)(Code)(Java Doc) public void fillPolygon(Polygon p)(Code)(Java Doc) abstract public void fillRect(int x, int y, int width, int height)(Code)(Java Doc) abstract public void fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)(Code)(Java Doc) public void finalize()(Code)(Java Doc) abstract public Shape getClip()(Code)(Java Doc) abstract public Rectangle getClipBounds()(Code)(Java Doc) public Rectangle getClipBounds(Rectangle r)(Code)(Java Doc) public Rectangle getClipRect()(Code)(Java Doc) abstract public Color getColor()(Code)(Java Doc) abstract public Font getFont()(Code)(Java Doc) public FontMetrics getFontMetrics()(Code)(Java Doc) abstract public FontMetrics getFontMetrics(Font f)(Code)(Java Doc) public boolean hitClip(int x, int y, int width, int height)(Code)(Java Doc) abstract public void setClip(int x, int y, int width, int height)(Code)(Java Doc) abstract public void setClip(Shape clip)(Code)(Java Doc) abstract public void setColor(Color c)(Code)(Java Doc) abstract public void setFont(Font font)(Code)(Java Doc) abstract public void setPaintMode()(Code)(Java Doc) abstract public void setXORMode(Color c1)(Code)(Java Doc) public String toString()(Code)(Java Doc) abstract public void translate(int x, int y)(Code)(Java Doc)
|
|
|