Table of Contents

Class Graphics2D

Namespace
Java.Awt
Assembly
MASES.JNet.dll
public class Graphics2D : Graphics, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Graphics>
Graphics2D
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
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

Graphics2D()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("Graphics2D 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 Graphics2D()

Graphics2D(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("Graphics2D 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 Graphics2D(params object[] args)

Parameters

args object[]

Properties

Background

public Color Background { get; set; }

Property Value

Color

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

Composite

public Composite Composite { get; set; }

Property Value

Composite

DeviceConfiguration

public GraphicsConfiguration DeviceConfiguration { get; }

Property Value

GraphicsConfiguration

FontRenderContext

public FontRenderContext FontRenderContext { get; }

Property Value

FontRenderContext

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

Paint

public Paint Paint { get; set; }

Property Value

Paint

RenderingHints

public RenderingHints RenderingHints { get; set; }

Property Value

RenderingHints

Stroke

public Stroke Stroke { get; set; }

Property Value

Stroke

Methods

AddRenderingHints(Map<object, object>)

public void AddRenderingHints(Map<object, object> arg0)

Parameters

arg0 Map<object, object>

Map

Clip(Shape)

public void Clip(Shape arg0)

Parameters

arg0 Shape

Shape

Draw(Shape)

public void Draw(Shape arg0)

Parameters

arg0 Shape

Shape

DrawGlyphVector(GlyphVector, float, float)

public void DrawGlyphVector(GlyphVector arg0, float arg1, float arg2)

Parameters

arg0 GlyphVector

GlyphVector

arg1 float

float

arg2 float

float

DrawImage(Image, AffineTransform, ImageObserver)

public bool DrawImage(Image arg0, AffineTransform arg1, ImageObserver arg2)

Parameters

arg0 Image

Image

arg1 AffineTransform

AffineTransform

arg2 ImageObserver

ImageObserver

Returns

bool

bool

DrawImage(BufferedImage, BufferedImageOp, int, int)

public void DrawImage(BufferedImage arg0, BufferedImageOp arg1, int arg2, int arg3)

Parameters

arg0 BufferedImage

BufferedImage

arg1 BufferedImageOp

BufferedImageOp

arg2 int

int

arg3 int

int

DrawRenderableImage(RenderableImage, AffineTransform)

public void DrawRenderableImage(RenderableImage arg0, AffineTransform arg1)

Parameters

arg0 RenderableImage

RenderableImage

arg1 AffineTransform

AffineTransform

DrawRenderedImage(RenderedImage, AffineTransform)

public void DrawRenderedImage(RenderedImage arg0, AffineTransform arg1)

Parameters

arg0 RenderedImage

RenderedImage

arg1 AffineTransform

AffineTransform

DrawString(String, float, float)

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

Parameters

arg0 String

String

arg1 float

float

arg2 float

float

DrawString(AttributedCharacterIterator, float, float)

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

Parameters

arg0 AttributedCharacterIterator

AttributedCharacterIterator

arg1 float

float

arg2 float

float

Fill(Shape)

public void Fill(Shape arg0)

Parameters

arg0 Shape

Shape

GetRenderingHint(Key)

public object GetRenderingHint(RenderingHints.Key arg0)

Parameters

arg0 RenderingHints.Key

RenderingHints.Key

Returns

object

object

GetTransform()

public AffineTransform GetTransform()

Returns

AffineTransform

AffineTransform

Hit(Rectangle, Shape, bool)

public bool Hit(Rectangle arg0, Shape arg1, bool arg2)

Parameters

arg0 Rectangle

Rectangle

arg1 Shape

Shape

arg2 bool

bool

Returns

bool

bool

Rotate(double)

public void Rotate(double arg0)

Parameters

arg0 double

double

Rotate(double, double, double)

public void Rotate(double arg0, double arg1, double arg2)

Parameters

arg0 double

double

arg1 double

double

arg2 double

double

Scale(double, double)

public void Scale(double arg0, double arg1)

Parameters

arg0 double

double

arg1 double

double

SetRenderingHint(Key, object)

public void SetRenderingHint(RenderingHints.Key arg0, object arg1)

Parameters

arg0 RenderingHints.Key

RenderingHints.Key

arg1 object

object

SetTransform(AffineTransform)

public void SetTransform(AffineTransform arg0)

Parameters

arg0 AffineTransform

AffineTransform

Shear(double, double)

public void Shear(double arg0, double arg1)

Parameters

arg0 double

double

arg1 double

double

Transform(AffineTransform)

public void Transform(AffineTransform arg0)

Parameters

arg0 AffineTransform

AffineTransform

Translate(double, double)

public void Translate(double arg0, double arg1)

Parameters

arg0 double

double

arg1 double

double