Table of Contents

Class Rectangle2D

Namespace
Java.Awt.Geom
Assembly
MASES.JNet.dll
public class Rectangle2D : RectangularShape, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<RectangularShape>
Rectangle2D
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<RectangularShape>.IsAssignableFrom(IJavaType)
JVMBridgeBase<RectangularShape>.IsAssignableFrom<T>()
JVMBridgeBase<RectangularShape>.Execute<T>(params T[])
JVMBridgeBase<RectangularShape>.DynBridgeClazz
JVMBridgeBase<RectangularShape>.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.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

Rectangle2D()

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

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

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

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

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

OUT_BOTTOM

public static int OUT_BOTTOM { get; }

Property Value

int

OUT_LEFT

public static int OUT_LEFT { get; }

Property Value

int

OUT_RIGHT

public static int OUT_RIGHT { get; }

Property Value

int

OUT_TOP

public static int OUT_TOP { get; }

Property Value

int

Methods

Add(Point2D)

public void Add(Point2D arg0)

Parameters

arg0 Point2D

Point2D

Add(Rectangle2D)

public void Add(Rectangle2D arg0)

Parameters

arg0 Rectangle2D

Rectangle2D

Add(double, double)

public void Add(double arg0, double arg1)

Parameters

arg0 double

double

arg1 double

double

CreateIntersection(Rectangle2D)

public Rectangle2D CreateIntersection(Rectangle2D arg0)

Parameters

arg0 Rectangle2D

Rectangle2D

Returns

Rectangle2D

Rectangle2D

CreateUnion(Rectangle2D)

public Rectangle2D CreateUnion(Rectangle2D arg0)

Parameters

arg0 Rectangle2D

Rectangle2D

Returns

Rectangle2D

Rectangle2D

Intersect(Rectangle2D, Rectangle2D, Rectangle2D)

public static void Intersect(Rectangle2D arg0, Rectangle2D arg1, Rectangle2D arg2)

Parameters

arg0 Rectangle2D

Rectangle2D

arg1 Rectangle2D

Rectangle2D

arg2 Rectangle2D

Rectangle2D

IntersectsLine(Line2D)

public bool IntersectsLine(Line2D arg0)

Parameters

arg0 Line2D

Line2D

Returns

bool

bool

IntersectsLine(double, double, double, double)

public bool IntersectsLine(double arg0, double arg1, double arg2, double arg3)

Parameters

arg0 double

double

arg1 double

double

arg2 double

double

arg3 double

double

Returns

bool

bool

Outcode(Point2D)

public int Outcode(Point2D arg0)

Parameters

arg0 Point2D

Point2D

Returns

int

int

Outcode(double, double)

public int Outcode(double arg0, double arg1)

Parameters

arg0 double

double

arg1 double

double

Returns

int

int

SetRect(Rectangle2D)

public void SetRect(Rectangle2D arg0)

Parameters

arg0 Rectangle2D

Rectangle2D

SetRect(double, double, double, double)

public void SetRect(double arg0, double arg1, double arg2, double arg3)

Parameters

arg0 double

double

arg1 double

double

arg2 double

double

arg3 double

double

Union(Rectangle2D, Rectangle2D, Rectangle2D)

public static void Union(Rectangle2D arg0, Rectangle2D arg1, Rectangle2D arg2)

Parameters

arg0 Rectangle2D

Rectangle2D

arg1 Rectangle2D

Rectangle2D

arg2 Rectangle2D

Rectangle2D