public class

PixelToShapeConverter

extends Object
implements PixelDrawPipe PixelFillPipe
java.lang.Object
   ↳ sun.java2d.pipe.PixelToShapeConverter

Class Overview

This class converts calls to the basic pixel rendering methods into calls to a generic Shape rendering pipeline.

Summary

Public Constructors
PixelToShapeConverter(ShapeDrawPipe pipe)
Public Methods
void drawArc(SunGraphics2D sg, int x, int y, int w, int h, int start, int extent)
void drawLine(SunGraphics2D sg, int x1, int y1, int x2, int y2)
void drawOval(SunGraphics2D sg, int x, int y, int w, int h)
void drawPolygon(SunGraphics2D sg, int[] xPoints, int[] yPoints, int nPoints)
void drawPolyline(SunGraphics2D sg, int[] xPoints, int[] yPoints, int nPoints)
void drawRect(SunGraphics2D sg, int x, int y, int w, int h)
void drawRoundRect(SunGraphics2D sg, int x, int y, int w, int h, int aW, int aH)
void fillArc(SunGraphics2D sg, int x, int y, int w, int h, int start, int extent)
void fillOval(SunGraphics2D sg, int x, int y, int w, int h)
void fillPolygon(SunGraphics2D sg, int[] xPoints, int[] yPoints, int nPoints)
void fillRect(SunGraphics2D sg, int x, int y, int w, int h)
void fillRoundRect(SunGraphics2D sg, int x, int y, int w, int h, int aW, int aH)
[Expand]
Inherited Methods
From class java.lang.Object
From interface sun.java2d.pipe.PixelDrawPipe
From interface sun.java2d.pipe.PixelFillPipe

Public Constructors

public PixelToShapeConverter (ShapeDrawPipe pipe)

Public Methods

public void drawArc (SunGraphics2D sg, int x, int y, int w, int h, int start, int extent)

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

public void drawOval (SunGraphics2D sg, int x, int y, int w, int h)

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 w, int h)

public void drawRoundRect (SunGraphics2D sg, int x, int y, int w, int h, int aW, int aH)

public void fillArc (SunGraphics2D sg, int x, int y, int w, int h, int start, int extent)

public void fillOval (SunGraphics2D sg, int x, int y, int w, int h)

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

public void fillRect (SunGraphics2D sg, int x, int y, int w, int h)

public void fillRoundRect (SunGraphics2D sg, int x, int y, int w, int h, int aW, int aH)