APIdia Launch Partner
Top Description Methods
sun.java2d.pipe

public Interface PixelDrawPipe

Known Direct Implementers
sun.java2d.pipe.PixelToShapeConverter, sun.java2d.pipe.ValidatePipe, sun.java2d.x11.X11Renderer, sun.java2d.xr.XRRenderer, sun.java2d.pipe.BufferedRenderPipe, sun.java2d.pipe.LoopPipe, sun.java2d.pipe.NullPipe
Imports
sun.java2d.SunGraphics2D

This interface defines the set of calls that pipeline objects can use to pass on responsibility for drawing various basic geometric figures defined by explicit integer coordinates. Typically this interface will be used for communication when the coordinates of the rendering have been narrowed down to actual device pixels, or for communication of untransformed coordinates when the coordinates were specified using integers. This interface does not cover all of the rendering calls that are possible in Graphics since many of the rendering calls can be transformed into one or more variants of these calls.

Method Summary

Modifier and TypeMethod and Description
public void
drawArc(SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle)

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

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

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

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

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

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

Method Detail

drawArcback to summary
public void drawArc(SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle)
drawLineback to summary
public void drawLine(SunGraphics2D sg, int x1, int y1, int x2, int y2)
drawOvalback to summary
public void drawOval(SunGraphics2D sg, int x, int y, int width, int height)
drawPolygonback to summary
public void drawPolygon(SunGraphics2D sg, int[] xPoints, int[] yPoints, int nPoints)
drawPolylineback to summary
public void drawPolyline(SunGraphics2D sg, int[] xPoints, int[] yPoints, int nPoints)
drawRectback to summary
public void drawRect(SunGraphics2D sg, int x, int y, int width, int height)
drawRoundRectback to summary
public void drawRoundRect(SunGraphics2D sg, int x, int y, int width, int height, int arcWidth, int arcHeight)