Class GraphicsEnvironment
public class GraphicsEnvironment : JVMBridgeBase<GraphicsEnvironment>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
GraphicsEnvironment
- Implements
- Extension Methods
Constructors
GraphicsEnvironment(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public GraphicsEnvironment(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
AllFonts
public Font[] AllFonts { get; }
Property Value
- Font[]
AvailableFontFamilyNames
public String[] AvailableFontFamilyNames { get; }
Property Value
- String[]
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
CenterPoint
public Point CenterPoint { get; }
Property Value
DefaultScreenDevice
https://docs.oracle.com/javase/8/docs/api/java/awt/GraphicsEnvironment.html#getDefaultScreenDevice--
public GraphicsDevice DefaultScreenDevice { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
LocalGraphicsEnvironment
public static GraphicsEnvironment LocalGraphicsEnvironment { get; }
Property Value
MaximumWindowBounds
https://docs.oracle.com/javase/8/docs/api/java/awt/GraphicsEnvironment.html#getMaximumWindowBounds--
public Rectangle MaximumWindowBounds { get; }
Property Value
ScreenDevices
public GraphicsDevice[] ScreenDevices { get; }
Property Value
Methods
CreateGraphics(BufferedImage)
public Graphics2D CreateGraphics(BufferedImage arg0)
Parameters
Returns
GetAvailableFontFamilyNames(Locale)
public String[] GetAvailableFontFamilyNames(Locale arg0)
Parameters
Returns
IsHeadless()
public static bool IsHeadless()
Returns
IsHeadlessInstance()
public bool IsHeadlessInstance()
Returns
PreferLocaleFonts()
public void PreferLocaleFonts()
PreferProportionalFonts()
public void PreferProportionalFonts()
RegisterFont(Font)
public bool RegisterFont(Font arg0)