Class GraphicsEnvironment
public class GraphicsEnvironment : JVMBridgeBase<GraphicsEnvironment>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
GraphicsEnvironment
- Implements
- Inherited Members
-
JVMBridgeBase<GraphicsEnvironment>.SExecuteWithSignature(IJavaType, string, string, params object[])JVMBridgeBase<GraphicsEnvironment>.SExecute<TNewClass, TReturn, TConverter>(string, params object[])
- Extension Methods
Constructors
GraphicsEnvironment()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("GraphicsEnvironment class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public GraphicsEnvironment()
GraphicsEnvironment(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
[Obsolete("GraphicsEnvironment class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public GraphicsEnvironment(params object[] args)
Parameters
args
object[]
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
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 Closeable
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
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)