Java java.awt GraphicsEnvironment fields, constructors, methods, implement or subclass

Example usage for Java java.awt GraphicsEnvironment fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.awt GraphicsEnvironment.

The text is from its open source code.

Method

Graphics2DcreateGraphics(BufferedImage img)
Returns a Graphics2D object for rendering into the specified BufferedImage .
Font[]getAllFonts()
Returns an array containing a one-point size instance of all fonts available in this GraphicsEnvironment .
String[]getAvailableFontFamilyNames()
Returns an array containing the names of all font families in this GraphicsEnvironment localized for the default locale, as returned by Locale.getDefault() .
String[]getAvailableFontFamilyNames(Locale l)
Returns an array containing the names of all font families in this GraphicsEnvironment localized for the specified locale.
PointgetCenterPoint()
Returns the Point where Windows should be centered.
GraphicsDevicegetDefaultScreenDevice()
Returns the default screen GraphicsDevice .
GraphicsEnvironmentgetLocalGraphicsEnvironment()
Returns the local GraphicsEnvironment .
RectanglegetMaximumWindowBounds()
Returns the maximum bounds for centered Windows.
GraphicsDevice[]getScreenDevices()
Returns an array of all of the screen GraphicsDevice objects.
booleanisHeadless()
Tests whether or not a display, keyboard, and mouse can be supported in this environment.
booleanisHeadlessInstance()
Returns whether or not a display, keyboard, and mouse can be supported in this graphics environment.
voidpreferLocaleFonts()
Indicates a preference for locale-specific fonts in the mapping of logical fonts to physical fonts.
voidpreferProportionalFonts()
Indicates a preference for proportional over non-proportional (e.g.
booleanregisterFont(Font font)
Registers a created Font in this GraphicsEnvironment .