java.lang.Object | ||
↳ | sun.java2d.SurfaceData | |
↳ | sun.awt.image.BufImgSurfaceData |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BufImgSurfaceData.ICMColorData |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the bounds of the destination surface.
| |||||||||||
Returns destination Image associated with this SurfaceData.
| |||||||||||
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 RenderLoops object containing all of the basic
GraphicsPrimitive objects for rendering to the destination
surface with the current attributes of the given SunGraphics2D.
| |||||||||||
Certain changes in the configuration of a surface require the
invalidation of existing associated SurfaceData objects and
the creation of brand new ones.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Performs Security Permissions checks to see if a Custom
Composite object should be allowed access to the pixels
of this surface.
| |||||||||||
Initializes the native Ops pointer.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
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 RenderLoops object containing all of the basic GraphicsPrimitive objects for rendering to the destination surface with the current attributes of the given SunGraphics2D.
Certain changes in the configuration of a surface require the invalidation of existing associated SurfaceData objects and the creation of brand new ones. These changes include size, ColorModel, or SurfaceType. Existing Graphics objects which are directed at such surfaces, however, must continue to render to them even after the change occurs underneath the covers. The getReplacement() method is called from SunGraphics2D.revalidateAll() when the associated SurfaceData is found to be invalid so that a Graphics object can continue to render to the surface in its new configuration. Such changes only tend to happen to window based surfaces since most image based surfaces never change size or pixel format. Even VolatileImage objects never change size and they only change their pixel format when manually validated against a new GraphicsConfiguration, at which point old Graphics objects are no longer expected to render to them after the validation step. Thus, only window based surfaces really need to deal with this form of replacement.
Performs Security Permissions checks to see if a Custom Composite object should be allowed access to the pixels of this surface.
Initializes the native Ops pointer.