sun.java2d.pipe.PixelDrawPipe |
Known Indirect Subclasses
BufferedRenderPipe |
Base class for enqueuing rendering operations in a single-threaded
rendering environment. |
LoopPipe |
|
NullPipe |
This is a class that implements all of the basic pixel rendering
methods as NOPs. |
PixelToShapeConverter |
This class converts calls to the basic pixel rendering methods
into calls to a generic Shape rendering pipeline. |
ValidatePipe |
This class is used to force a revalidation of the pipelines of
the indicated SunGraphics2D object before a draw command. |
|
Class Overview
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.
Summary
Public Methods |
abstract
void
|
drawArc(SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle)
|
abstract
void
|
drawLine(SunGraphics2D sg, int x1, int y1, int x2, int y2)
|
abstract
void
|
drawOval(SunGraphics2D sg, int x, int y, int width, int height)
|
abstract
void
|
drawPolygon(SunGraphics2D sg, int[] xPoints, int[] yPoints, int nPoints)
|
abstract
void
|
drawPolyline(SunGraphics2D sg, int[] xPoints, int[] yPoints, int nPoints)
|
abstract
void
|
drawRect(SunGraphics2D sg, int x, int y, int width, int height)
|
abstract
void
|
drawRoundRect(SunGraphics2D sg, int x, int y, int width, int height, int arcWidth, int arcHeight)
|
Public Methods
public
abstract
void
drawArc
(SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle)
public
abstract
void
drawLine
(SunGraphics2D sg, int x1, int y1, int x2, int y2)
public
abstract
void
drawOval
(SunGraphics2D sg, int x, int y, int width, int height)
public
abstract
void
drawPolygon
(SunGraphics2D sg, int[] xPoints, int[] yPoints, int nPoints)
public
abstract
void
drawPolyline
(SunGraphics2D sg, int[] xPoints, int[] yPoints, int nPoints)
public
abstract
void
drawRect
(SunGraphics2D sg, int x, int y, int width, int height)
public
abstract
void
drawRoundRect
(SunGraphics2D sg, int x, int y, int width, int height, int arcWidth, int arcHeight)