126 |
} |
} |
127 |
|
|
128 |
/** |
/** |
129 |
|
* Returns a buffered volatile image optimized to this device, and |
130 |
|
* with the given transparency. Because the buffer is volatile, it |
131 |
|
* can be optimized by native graphics accelerators. |
132 |
|
* |
133 |
|
* @param w the width of the buffer |
134 |
|
* @param h the height of the buffer |
135 |
|
* @param transparency the transparency value for the buffer |
136 |
|
* @return the buffered image, or null if none is supported |
137 |
|
* @throws AWTException if the capabilities cannot be met |
138 |
|
* @since 1.5 |
139 |
|
*/ |
140 |
|
public abstract VolatileImage createCompatibleVolatileImage(int width, |
141 |
|
int height, |
142 |
|
int transparency); |
143 |
|
|
144 |
|
/** |
145 |
* Returns a buffered image optimized to this device, and with the specified |
* Returns a buffered image optimized to this device, and with the specified |
146 |
* transparency, so that blitting can be supported in the buffered image. |
* transparency, so that blitting can be supported in the buffered image. |
147 |
* |
* |