APIdia Launch Partner
Top Description Constructors Methods
sun.java2d.pipe

public Class ValidatePipe

extends Object
implements PixelDrawPipe, PixelFillPipe, ShapeDrawPipe, TextPipe, DrawImagePipe
Class Inheritance
All Implemented Interfaces
sun.java2d.pipe.DrawImagePipe, sun.java2d.pipe.TextPipe, sun.java2d.pipe.ShapeDrawPipe, sun.java2d.pipe.PixelFillPipe, sun.java2d.pipe.PixelDrawPipe
Known Direct Subclasses
sun.java2d.x11.X11SurfaceData.LazyPipe, sun.java2d.xr.XRSurfaceData.LazyPipe
Imports
java.awt.Color, .Image, .Shape, java.awt.geom.AffineTransform, java.awt.image.BufferedImage, .BufferedImageOp, .ImageObserver, sun.java2d.SunGraphics2D, java.awt.font.GlyphVector

This class is used to force a revalidation of the pipelines of the indicated SunGraphics2D object before a draw command. After calling SunGraphics2D.validatePipe() to force the pipeline to be revalidated, this object redispatches the draw command to the new valid pipe object.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
copyImage(SunGraphics2D sg, Image img, int x, int y, Color bgColor, ImageObserver observer)

Implements sun.java2d.pipe.DrawImagePipe.copyImage.

public boolean
copyImage(SunGraphics2D sg, Image img, int dx, int dy, int sx, int sy, int w, int h, Color bgColor, ImageObserver observer)

Implements sun.java2d.pipe.DrawImagePipe.copyImage.

public void
public void
drawArc(SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle)

Implements sun.java2d.pipe.PixelDrawPipe.drawArc.

public void
drawChars(SunGraphics2D sg, char[] data, int offset, int length, int x, int y)

Implements sun.java2d.pipe.TextPipe.drawChars.

public void
public void
drawLine(SunGraphics2D sg, int x1, int y1, int x2, int y2)

Implements sun.java2d.pipe.PixelDrawPipe.drawLine.

public void
drawOval(SunGraphics2D sg, int x, int y, int width, int height)

Implements sun.java2d.pipe.PixelDrawPipe.drawOval.

public void
drawPolygon(SunGraphics2D sg, int[] xPoints, int[] yPoints, int nPoints)

Implements sun.java2d.pipe.PixelDrawPipe.drawPolygon.

public void
drawPolyline(SunGraphics2D sg, int[] xPoints, int[] yPoints, int nPoints)

Implements sun.java2d.pipe.PixelDrawPipe.drawPolyline.

public void
drawRect(SunGraphics2D sg, int x, int y, int width, int height)

Implements sun.java2d.pipe.PixelDrawPipe.drawRect.

public void
drawRoundRect(SunGraphics2D sg, int x, int y, int width, int height, int arcWidth, int arcHeight)

Implements sun.java2d.pipe.PixelDrawPipe.drawRoundRect.

public void
public void
public void
fillArc(SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle)

Implements sun.java2d.pipe.PixelFillPipe.fillArc.

public void
fillOval(SunGraphics2D sg, int x, int y, int width, int height)

Implements sun.java2d.pipe.PixelFillPipe.fillOval.

public void
fillPolygon(SunGraphics2D sg, int[] xPoints, int[] yPoints, int nPoints)

Implements sun.java2d.pipe.PixelFillPipe.fillPolygon.

public void
fillRect(SunGraphics2D sg, int x, int y, int width, int height)

Implements sun.java2d.pipe.PixelFillPipe.fillRect.

public void
fillRoundRect(SunGraphics2D sg, int x, int y, int width, int height, int arcWidth, int arcHeight)

Implements sun.java2d.pipe.PixelFillPipe.fillRoundRect.

public boolean
scaleImage(SunGraphics2D sg, Image img, int x, int y, int w, int h, Color bgColor, ImageObserver observer)

Implements sun.java2d.pipe.DrawImagePipe.scaleImage.

public boolean
scaleImage(SunGraphics2D sg, Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgColor, ImageObserver observer)

Implements sun.java2d.pipe.DrawImagePipe.scaleImage.

public boolean
public void
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ValidatePipeback to summary
public ValidatePipe()

Method Detail

copyImageback to summary
public boolean copyImage(SunGraphics2D sg, Image img, int x, int y, Color bgColor, ImageObserver observer)

Implements sun.java2d.pipe.DrawImagePipe.copyImage.

copyImageback to summary
public boolean copyImage(SunGraphics2D sg, Image img, int dx, int dy, int sx, int sy, int w, int h, Color bgColor, ImageObserver observer)

Implements sun.java2d.pipe.DrawImagePipe.copyImage.

drawback to summary
public void draw(SunGraphics2D sg, Shape s)

Implements sun.java2d.pipe.ShapeDrawPipe.draw.

drawArcback to summary
public void drawArc(SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle)

Implements sun.java2d.pipe.PixelDrawPipe.drawArc.

drawCharsback to summary
public void drawChars(SunGraphics2D sg, char[] data, int offset, int length, int x, int y)

Implements sun.java2d.pipe.TextPipe.drawChars.

drawGlyphVectorback to summary
public void drawGlyphVector(SunGraphics2D sg, GlyphVector g, float x, float y)

Implements sun.java2d.pipe.TextPipe.drawGlyphVector.

drawLineback to summary
public void drawLine(SunGraphics2D sg, int x1, int y1, int x2, int y2)

Implements sun.java2d.pipe.PixelDrawPipe.drawLine.

drawOvalback to summary
public void drawOval(SunGraphics2D sg, int x, int y, int width, int height)

Implements sun.java2d.pipe.PixelDrawPipe.drawOval.

drawPolygonback to summary
public void drawPolygon(SunGraphics2D sg, int[] xPoints, int[] yPoints, int nPoints)

Implements sun.java2d.pipe.PixelDrawPipe.drawPolygon.

drawPolylineback to summary
public void drawPolyline(SunGraphics2D sg, int[] xPoints, int[] yPoints, int nPoints)

Implements sun.java2d.pipe.PixelDrawPipe.drawPolyline.

drawRectback to summary
public void drawRect(SunGraphics2D sg, int x, int y, int width, int height)

Implements sun.java2d.pipe.PixelDrawPipe.drawRect.

drawRoundRectback to summary
public void drawRoundRect(SunGraphics2D sg, int x, int y, int width, int height, int arcWidth, int arcHeight)

Implements sun.java2d.pipe.PixelDrawPipe.drawRoundRect.

drawStringback to summary
public void drawString(SunGraphics2D sg, String s, double x, double y)

Implements sun.java2d.pipe.TextPipe.drawString.

fillback to summary
public void fill(SunGraphics2D sg, Shape s)

Implements sun.java2d.pipe.ShapeDrawPipe.fill.

fillArcback to summary
public void fillArc(SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle)

Implements sun.java2d.pipe.PixelFillPipe.fillArc.

fillOvalback to summary
public void fillOval(SunGraphics2D sg, int x, int y, int width, int height)

Implements sun.java2d.pipe.PixelFillPipe.fillOval.

fillPolygonback to summary
public void fillPolygon(SunGraphics2D sg, int[] xPoints, int[] yPoints, int nPoints)

Implements sun.java2d.pipe.PixelFillPipe.fillPolygon.

fillRectback to summary
public void fillRect(SunGraphics2D sg, int x, int y, int width, int height)

Implements sun.java2d.pipe.PixelFillPipe.fillRect.

fillRoundRectback to summary
public void fillRoundRect(SunGraphics2D sg, int x, int y, int width, int height, int arcWidth, int arcHeight)

Implements sun.java2d.pipe.PixelFillPipe.fillRoundRect.

scaleImageback to summary
public boolean scaleImage(SunGraphics2D sg, Image img, int x, int y, int w, int h, Color bgColor, ImageObserver observer)

Implements sun.java2d.pipe.DrawImagePipe.scaleImage.

scaleImageback to summary
public boolean scaleImage(SunGraphics2D sg, Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgColor, ImageObserver observer)

Implements sun.java2d.pipe.DrawImagePipe.scaleImage.

transformImageback to summary
public boolean transformImage(SunGraphics2D sg, Image img, AffineTransform atfm, ImageObserver observer)

Implements sun.java2d.pipe.DrawImagePipe.transformImage.

transformImageback to summary
public void transformImage(SunGraphics2D sg, BufferedImage img, BufferedImageOp op, int x, int y)

Implements sun.java2d.pipe.DrawImagePipe.transformImage.

validateback to summary
public boolean validate(SunGraphics2D sg)