APIdia Launch Partner
Top Description Fields Constructors Methods
sun.java2d.pipe.hw

public Class AccelTypedVolatileImage

extends SunVolatileImage
Class Inheritance
Imports
java.awt.Graphics, .Graphics2D, .GraphicsConfiguration, sun.awt.image.SunVolatileImage

This is an image with forced type of the accelerated surface.

Field Summary

Inherited from sun.awt.image.SunVolatileImage:
compvolSurfaceManager

Constructor Summary

AccessConstructor and Description
public
AccelTypedVolatileImage(GraphicsConfiguration
a GraphicsConfiguration for which this image should be created.
graphicsConfig
,
int
width
width
,
int
width
height
,
int
type of transparency requested for the image
transparency
,
int
type of the desired accelerated surface as defined in AccelSurface interface
accType
)

Creates a volatile image with specified type of accelerated surface.

Method Summary

Modifier and TypeMethod and Description
public Graphics2D
createGraphics()

Overrides sun.awt.image.SunVolatileImage.createGraphics.

Creates a Graphics2D, which can be used to draw into this VolatileImage.

Inherited from sun.awt.image.SunVolatileImage:
contentsLostgetBackupImagegetBackupImagegetCapabilitiesgetComponentgetDestSurfacegetForcedAccelSurfaceTypegetGraphicsConfiggetHeightgetHeightgetPropertygetSnapshotgetWidthgetWidthupdateGraphicsConfigvalidate

Constructor Detail

AccelTypedVolatileImageback to summary
public AccelTypedVolatileImage(GraphicsConfiguration graphicsConfig, int width, int height, int transparency, int accType)

Creates a volatile image with specified type of accelerated surface.

Parameters
graphicsConfig:GraphicsConfiguration

a GraphicsConfiguration for which this image should be created.

width:int

width

height:int

width

transparency:int

type of transparency requested for the image

accType:int

type of the desired accelerated surface as defined in AccelSurface interface

See Also
sun.java2d.pipe.hw.AccelSurface

Method Detail

createGraphicsback to summary
public Graphics2D createGraphics()

Overrides sun.awt.image.SunVolatileImage.createGraphics.

Doc from java.awt.image.VolatileImage.createGraphics.

Creates a Graphics2D, which can be used to draw into this VolatileImage. This method will throw UnsupportedOperationException if it this image's destination surface can not be rendered to.

Annotations
@Override