Class Graphics
public class Graphics : JVMBridgeBase<Graphics>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Graphics>Graphics
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeBase<Graphics>.SExecute<TNewClass, TReturn, TConverter>(IJavaType, string, params object[])JVMBridgeBase<Graphics>.IsAssignableFrom(IJavaType)JVMBridgeBase<Graphics>.IsAssignableFrom<T>()JVMBridgeBase<Graphics>.Execute<T>(params T[])JVMBridgeBase<Graphics>.DynBridgeClazzJVMBridgeBase<Graphics>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
Graphics()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("Graphics 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 Graphics()
Graphics(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("Graphics 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 Graphics(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
Clip
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Graphics.html#getClip() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Graphics.html#setClip(java.awt.Shape)
public Shape Clip { get; set; }
Property Value
ClipBounds
public Rectangle ClipBounds { get; }
Property Value
Color
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Graphics.html#getColor() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Graphics.html#setColor(java.awt.Color)
public Color Color { get; set; }
Property Value
Font
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Graphics.html#getFont() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Graphics.html#setFont(java.awt.Font)
public Font Font { get; set; }
Property Value
FontMetrics
public FontMetrics FontMetrics { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
ClearRect(int, int, int, int)
public void ClearRect(int arg0, int arg1, int arg2, int arg3)
Parameters
ClipRect(int, int, int, int)
public void ClipRect(int arg0, int arg1, int arg2, int arg3)
Parameters
CopyArea(int, int, int, int, int, int)
public void CopyArea(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
Parameters
Create()
public Graphics Create()
Returns
Create(int, int, int, int)
public Graphics Create(int arg0, int arg1, int arg2, int arg3)
Parameters
Returns
Dispose()
public void Dispose()
Draw3DRect(int, int, int, int, bool)
public void Draw3DRect(int arg0, int arg1, int arg2, int arg3, bool arg4)
Parameters
DrawArc(int, int, int, int, int, int)
public void DrawArc(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
Parameters
DrawBytes(byte[], int, int, int, int)
public void DrawBytes(byte[] arg0, int arg1, int arg2, int arg3, int arg4)
Parameters
DrawChars(char[], int, int, int, int)
public void DrawChars(char[] arg0, int arg1, int arg2, int arg3, int arg4)
Parameters
DrawImage(Image, int, int, Color, ImageObserver)
public bool DrawImage(Image arg0, int arg1, int arg2, Color arg3, ImageObserver arg4)
Parameters
arg0
Imagearg1
intarg2
intarg3
Colorarg4
ImageObserver
Returns
DrawImage(Image, int, int, ImageObserver)
public bool DrawImage(Image arg0, int arg1, int arg2, ImageObserver arg3)
Parameters
arg0
Imagearg1
intarg2
intarg3
ImageObserver
Returns
DrawImage(Image, int, int, int, int, Color, ImageObserver)
public bool DrawImage(Image arg0, int arg1, int arg2, int arg3, int arg4, Color arg5, ImageObserver arg6)
Parameters
Returns
DrawImage(Image, int, int, int, int, ImageObserver)
public bool DrawImage(Image arg0, int arg1, int arg2, int arg3, int arg4, ImageObserver arg5)
Parameters
Returns
DrawImage(Image, int, int, int, int, int, int, int, int, Color, ImageObserver)
public bool DrawImage(Image arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, Color arg9, ImageObserver arg10)
Parameters
arg0
Imagearg1
intarg2
intarg3
intarg4
intarg5
intarg6
intarg7
intarg8
intarg9
Colorarg10
ImageObserver
Returns
DrawImage(Image, int, int, int, int, int, int, int, int, ImageObserver)
public bool DrawImage(Image arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, ImageObserver arg9)
Parameters
arg0
Imagearg1
intarg2
intarg3
intarg4
intarg5
intarg6
intarg7
intarg8
intarg9
ImageObserver
Returns
DrawLine(int, int, int, int)
public void DrawLine(int arg0, int arg1, int arg2, int arg3)
Parameters
DrawOval(int, int, int, int)
public void DrawOval(int arg0, int arg1, int arg2, int arg3)
Parameters
DrawPolygon(Polygon)
public void DrawPolygon(Polygon arg0)
Parameters
DrawPolygon(int[], int[], int)
public void DrawPolygon(int[] arg0, int[] arg1, int arg2)
Parameters
DrawPolyline(int[], int[], int)
public void DrawPolyline(int[] arg0, int[] arg1, int arg2)
Parameters
DrawRect(int, int, int, int)
public void DrawRect(int arg0, int arg1, int arg2, int arg3)
Parameters
DrawRoundRect(int, int, int, int, int, int)
public void DrawRoundRect(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
Parameters
DrawString(String, int, int)
public void DrawString(String arg0, int arg1, int arg2)
Parameters
DrawString(AttributedCharacterIterator, int, int)
public void DrawString(AttributedCharacterIterator arg0, int arg1, int arg2)
Parameters
arg0
AttributedCharacterIteratorarg1
intarg2
int
Fill3DRect(int, int, int, int, bool)
public void Fill3DRect(int arg0, int arg1, int arg2, int arg3, bool arg4)
Parameters
FillArc(int, int, int, int, int, int)
public void FillArc(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
Parameters
FillOval(int, int, int, int)
public void FillOval(int arg0, int arg1, int arg2, int arg3)
Parameters
FillPolygon(Polygon)
public void FillPolygon(Polygon arg0)
Parameters
FillPolygon(int[], int[], int)
public void FillPolygon(int[] arg0, int[] arg1, int arg2)
Parameters
FillRect(int, int, int, int)
public void FillRect(int arg0, int arg1, int arg2, int arg3)
Parameters
FillRoundRect(int, int, int, int, int, int)
public void FillRoundRect(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
Parameters
GetClipBounds(Rectangle)
public Rectangle GetClipBounds(Rectangle arg0)
Parameters
Returns
GetFontMetrics(Font)
public FontMetrics GetFontMetrics(Font arg0)
Parameters
Returns
HitClip(int, int, int, int)
public bool HitClip(int arg0, int arg1, int arg2, int arg3)
Parameters
Returns
SetClip(int, int, int, int)
public void SetClip(int arg0, int arg1, int arg2, int arg3)
Parameters
SetPaintMode()
public void SetPaintMode()
SetXORMode(Color)
public void SetXORMode(Color arg0)
Parameters
Translate(int, int)
public void Translate(int arg0, int arg1)