java.lang.Object | ||
↳ | sun.java2d.SurfaceData | |
↳ | sun.java2d.NullSurfaceData |
This class provides an empty implementation of the SurfaceData abstract superclass. All operations on it translate into NOP or harmless operations.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
theInstance |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Performs a copyarea within this surface.
| |||||||||||
Returns the bounds of the destination surface.
| |||||||||||
Returns destination Image associated with this SurfaceData (null)
| |||||||||||
Return the GraphicsConfiguration object that describes this
destination surface.
| |||||||||||
Return a readable Raster which contains the pixels for the
specified rectangular region of the destination surface.
| |||||||||||
Return a new SurfaceData object that represents the current state
of the destination that this SurfaceData object describes.
| |||||||||||
Sets this SurfaceData object to the invalid state.
| |||||||||||
Returns the pixel data for the specified Argb value packed
into an integer for easy storage and conveyance.
| |||||||||||
Returns the Argb representation for the specified integer value
which is packed in the format of the associated ColorModel.
| |||||||||||
Does the pixel accessibility of the destination surface
suggest that rendering algorithms might want to take
extra time to calculate a more accurate bounding box for
the operation being performed?
The typical case when this will be true is when a copy of
the pixels has to be made when doing a getRaster.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Performs Security Permissions checks to see if a Custom
Composite object should be allowed access to the pixels
of this surface.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Performs a copyarea within this surface. Returns false if there is no algorithm to perform the copyarea given the current settings of the SunGraphics2D.
Return the GraphicsConfiguration object that describes this destination surface.
Return a readable Raster which contains the pixels for the specified rectangular region of the destination surface. The coordinate origin of the returned Raster is the same as the device space origin of the destination surface. In some cases the returned Raster might also be writeable. In most cases, the returned Raster might contain more pixels than requested.
Return a new SurfaceData object that represents the current state of the destination that this SurfaceData object describes. This method is typically called when the SurfaceData is invalidated.
Sets this SurfaceData object to the invalid state. All Graphics objects must get a new SurfaceData object via the refresh method and revalidate their pipelines before continuing.
Returns the pixel data for the specified Argb value packed into an integer for easy storage and conveyance.
Returns the Argb representation for the specified integer value which is packed in the format of the associated ColorModel.
Does the pixel accessibility of the destination surface suggest that rendering algorithms might want to take extra time to calculate a more accurate bounding box for the operation being performed? The typical case when this will be true is when a copy of the pixels has to be made when doing a getRaster. The fewer pixels copied, the faster the operation will go.
Performs Security Permissions checks to see if a Custom Composite object should be allowed access to the pixels of this surface.