Table of Contents

Class Graphics

Namespace
Java.Awt
Assembly
MASES.JNet.dll
public class Graphics : JVMBridgeBase<Graphics>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Graphics>
Graphics
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<Graphics>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Graphics>.IsAssignableFrom<T>()
JVMBridgeBase<Graphics>.Execute<T>(params T[])
JVMBridgeBase<Graphics>.DynBridgeClazz
JVMBridgeBase<Graphics>.BridgeClazz
JVMBridgeBase.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.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.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

public override string BridgeClassName { get; }

Property Value

string

Clip

public Shape Clip { get; set; }

Property Value

Shape

ClipBounds

public Rectangle ClipBounds { get; }

Property Value

Rectangle

Color

public Color Color { get; set; }

Property Value

Color

Font

public Font Font { get; set; }

Property Value

Font

FontMetrics

public FontMetrics FontMetrics { get; }

Property Value

FontMetrics

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

ClearRect(int, int, int, int)

public void ClearRect(int arg0, int arg1, int arg2, int arg3)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

ClipRect(int, int, int, int)

public void ClipRect(int arg0, int arg1, int arg2, int arg3)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

CopyArea(int, int, int, int, int, int)

public void CopyArea(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

arg4 int

int

arg5 int

int

Create()

public Graphics Create()

Returns

Graphics

Graphics

Create(int, int, int, int)

public Graphics Create(int arg0, int arg1, int arg2, int arg3)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

Returns

Graphics

Graphics

Dispose()

public void Dispose()

Draw3DRect(int, int, int, int, bool)

public void Draw3DRect(int arg0, int arg1, int arg2, int arg3, bool arg4)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

arg4 bool

bool

DrawArc(int, int, int, int, int, int)

public void DrawArc(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

arg4 int

int

arg5 int

int

DrawBytes(byte[], int, int, int, int)

public void DrawBytes(byte[] arg0, int arg1, int arg2, int arg3, int arg4)

Parameters

arg0 byte[]

byte

arg1 int

int

arg2 int

int

arg3 int

int

arg4 int

int

DrawChars(char[], int, int, int, int)

public void DrawChars(char[] arg0, int arg1, int arg2, int arg3, int arg4)

Parameters

arg0 char[]

char

arg1 int

int

arg2 int

int

arg3 int

int

arg4 int

int

DrawImage(Image, int, int, Color, ImageObserver)

public bool DrawImage(Image arg0, int arg1, int arg2, Color arg3, ImageObserver arg4)

Parameters

arg0 Image

Image

arg1 int

int

arg2 int

int

arg3 Color

Color

arg4 ImageObserver

ImageObserver

Returns

bool

bool

DrawImage(Image, int, int, ImageObserver)

public bool DrawImage(Image arg0, int arg1, int arg2, ImageObserver arg3)

Parameters

arg0 Image

Image

arg1 int

int

arg2 int

int

arg3 ImageObserver

ImageObserver

Returns

bool

bool

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

arg0 Image

Image

arg1 int

int

arg2 int

int

arg3 int

int

arg4 int

int

arg5 Color

Color

arg6 ImageObserver

ImageObserver

Returns

bool

bool

DrawImage(Image, int, int, int, int, ImageObserver)

public bool DrawImage(Image arg0, int arg1, int arg2, int arg3, int arg4, ImageObserver arg5)

Parameters

arg0 Image

Image

arg1 int

int

arg2 int

int

arg3 int

int

arg4 int

int

arg5 ImageObserver

ImageObserver

Returns

bool

bool

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 Image

Image

arg1 int

int

arg2 int

int

arg3 int

int

arg4 int

int

arg5 int

int

arg6 int

int

arg7 int

int

arg8 int

int

arg9 Color

Color

arg10 ImageObserver

ImageObserver

Returns

bool

bool

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 Image

Image

arg1 int

int

arg2 int

int

arg3 int

int

arg4 int

int

arg5 int

int

arg6 int

int

arg7 int

int

arg8 int

int

arg9 ImageObserver

ImageObserver

Returns

bool

bool

DrawLine(int, int, int, int)

public void DrawLine(int arg0, int arg1, int arg2, int arg3)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

DrawOval(int, int, int, int)

public void DrawOval(int arg0, int arg1, int arg2, int arg3)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

DrawPolygon(Polygon)

public void DrawPolygon(Polygon arg0)

Parameters

arg0 Polygon

Polygon

DrawPolygon(int[], int[], int)

public void DrawPolygon(int[] arg0, int[] arg1, int arg2)

Parameters

arg0 int[]

int

arg1 int[]

int

arg2 int

int

DrawPolyline(int[], int[], int)

public void DrawPolyline(int[] arg0, int[] arg1, int arg2)

Parameters

arg0 int[]

int

arg1 int[]

int

arg2 int

int

DrawRect(int, int, int, int)

public void DrawRect(int arg0, int arg1, int arg2, int arg3)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

DrawRoundRect(int, int, int, int, int, int)

public void DrawRoundRect(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

arg4 int

int

arg5 int

int

DrawString(String, int, int)

public void DrawString(String arg0, int arg1, int arg2)

Parameters

arg0 String

String

arg1 int

int

arg2 int

int

DrawString(AttributedCharacterIterator, int, int)

public void DrawString(AttributedCharacterIterator arg0, int arg1, int arg2)

Parameters

arg0 AttributedCharacterIterator

AttributedCharacterIterator

arg1 int

int

arg2 int

int

Fill3DRect(int, int, int, int, bool)

public void Fill3DRect(int arg0, int arg1, int arg2, int arg3, bool arg4)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

arg4 bool

bool

FillArc(int, int, int, int, int, int)

public void FillArc(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

arg4 int

int

arg5 int

int

FillOval(int, int, int, int)

public void FillOval(int arg0, int arg1, int arg2, int arg3)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

FillPolygon(Polygon)

public void FillPolygon(Polygon arg0)

Parameters

arg0 Polygon

Polygon

FillPolygon(int[], int[], int)

public void FillPolygon(int[] arg0, int[] arg1, int arg2)

Parameters

arg0 int[]

int

arg1 int[]

int

arg2 int

int

FillRect(int, int, int, int)

public void FillRect(int arg0, int arg1, int arg2, int arg3)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

FillRoundRect(int, int, int, int, int, int)

public void FillRoundRect(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

arg4 int

int

arg5 int

int

GetClipBounds(Rectangle)

public Rectangle GetClipBounds(Rectangle arg0)

Parameters

arg0 Rectangle

Rectangle

Returns

Rectangle

Rectangle

GetFontMetrics(Font)

public FontMetrics GetFontMetrics(Font arg0)

Parameters

arg0 Font

Font

Returns

FontMetrics

FontMetrics

HitClip(int, int, int, int)

public bool HitClip(int arg0, int arg1, int arg2, int arg3)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

Returns

bool

bool

SetClip(int, int, int, int)

public void SetClip(int arg0, int arg1, int arg2, int arg3)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

SetPaintMode()

public void SetPaintMode()

SetXORMode(Color)

public void SetXORMode(Color arg0)

Parameters

arg0 Color

Color

Translate(int, int)

public void Translate(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int