APIdia Launch Partner
Top Description Methods
sun.java2d.pipe

public Interface PixelFillPipe

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 filling 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
fillArc(SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle)

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

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

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

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

Method Detail

fillArcback to summary
public void fillArc(SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle)
fillOvalback to summary
public void fillOval(SunGraphics2D sg, int x, int y, int width, int height)
fillPolygonback to summary
public void fillPolygon(SunGraphics2D sg, int[] xPoints, int[] yPoints, int nPoints)
fillRectback to summary
public void fillRect(SunGraphics2D sg, int x, int y, int width, int height)
fillRoundRectback to summary
public void fillRoundRect(SunGraphics2D sg, int x, int y, int width, int height, int arcWidth, int arcHeight)