本文整理汇总了Java中java.awt.GraphicsDevice.TYPE_IMAGE_BUFFER属性的典型用法代码示例。如果您正苦于以下问题:Java GraphicsDevice.TYPE_IMAGE_BUFFER属性的具体用法?Java GraphicsDevice.TYPE_IMAGE_BUFFER怎么用?Java GraphicsDevice.TYPE_IMAGE_BUFFER使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类java.awt.GraphicsDevice
的用法示例。
在下文中一共展示了GraphicsDevice.TYPE_IMAGE_BUFFER属性的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getType
/**
* Returns the type of this <code>GraphicsDevice</code>.
* @return the type of this <code>GraphicsDevice</code>, which can
* either be TYPE_RASTER_SCREEN, TYPE_PRINTER or TYPE_IMAGE_BUFFER.
* @see #TYPE_RASTER_SCREEN
* @see #TYPE_PRINTER
* @see #TYPE_IMAGE_BUFFER
*/
public int getType() {
return GraphicsDevice.TYPE_IMAGE_BUFFER;
}
示例2: getType
/**
* Returns the type of this {@code GraphicsDevice}.
* @return the type of this {@code GraphicsDevice}, which can
* either be TYPE_RASTER_SCREEN, TYPE_PRINTER or TYPE_IMAGE_BUFFER.
* @see #TYPE_RASTER_SCREEN
* @see #TYPE_PRINTER
* @see #TYPE_IMAGE_BUFFER
*/
public int getType() {
return GraphicsDevice.TYPE_IMAGE_BUFFER;
}