Table of Contents

Class Rectangle

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

Rectangle()

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

public Rectangle()

Rectangle(Dimension)

public Rectangle(Dimension arg0)

Parameters

arg0 Dimension

Dimension

Rectangle(Point)

public Rectangle(Point arg0)

Parameters

arg0 Point

Point

Rectangle(Point, Dimension)

public Rectangle(Point arg0, Dimension arg1)

Parameters

arg0 Point

Point

arg1 Dimension

Dimension

Rectangle(Rectangle)

public Rectangle(Rectangle arg0)

Parameters

arg0 Rectangle

Rectangle

Rectangle(int, int)

public Rectangle(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Rectangle(int, int, int, int)

public Rectangle(int arg0, int arg1, int arg2, int arg3)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

Rectangle(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

public Rectangle(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

Location

public Point Location { get; set; }

Property Value

Point

Size

public Dimension Size { get; set; }

Property Value

Dimension

height

public int height { get; set; }

Property Value

int

width

public int width { get; set; }

Property Value

int

x

public int x { get; set; }

Property Value

int

y

public int y { get; set; }

Property Value

int

Methods

Add(Point)

public void Add(Point arg0)

Parameters

arg0 Point

Point

Add(Rectangle)

public void Add(Rectangle arg0)

Parameters

arg0 Rectangle

Rectangle

Add(int, int)

public void Add(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Contains(Point)

public bool Contains(Point arg0)

Parameters

arg0 Point

Point

Returns

bool

bool

Contains(Rectangle)

public bool Contains(Rectangle arg0)

Parameters

arg0 Rectangle

Rectangle

Returns

bool

bool

Contains(int, int)

public bool Contains(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

bool

bool

Contains(int, int, int, int)

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

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

Returns

bool

bool

Grow(int, int)

public void Grow(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Intersection(Rectangle)

public Rectangle Intersection(Rectangle arg0)

Parameters

arg0 Rectangle

Rectangle

Returns

Rectangle

Rectangle

Intersects(Rectangle)

public bool Intersects(Rectangle arg0)

Parameters

arg0 Rectangle

Rectangle

Returns

bool

bool

SetBounds(Rectangle)

public void SetBounds(Rectangle arg0)

Parameters

arg0 Rectangle

Rectangle

SetBounds(int, int, int, int)

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

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

SetLocation(int, int)

public void SetLocation(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

SetSize(int, int)

public void SetSize(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Translate(int, int)

public void Translate(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Union(Rectangle)

public Rectangle Union(Rectangle arg0)

Parameters

arg0 Rectangle

Rectangle

Returns

Rectangle

Rectangle

Operators

implicit operator Shape(Rectangle)

Converter from Rectangle to Shape

public static implicit operator Shape(Rectangle t)

Parameters

t Rectangle

Returns

Shape

implicit operator Serializable(Rectangle)

Converter from Rectangle to Serializable

public static implicit operator Serializable(Rectangle t)

Parameters

t Rectangle

Returns

Serializable