Class Rectangle
public class Rectangle : Rectangle2D, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<RectangularShape>Rectangle
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeBase<RectangularShape>.IsAssignableFrom(IJavaType)JVMBridgeBase<RectangularShape>.IsAssignableFrom<T>()JVMBridgeBase<RectangularShape>.Execute<T>(params T[])JVMBridgeBase<RectangularShape>.DynBridgeClazzJVMBridgeBase<RectangularShape>.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.Dispose()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
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
Rectangle(Point)
public Rectangle(Point arg0)
Parameters
Rectangle(Point, Dimension)
public Rectangle(Point arg0, Dimension arg1)
Parameters
Rectangle(Rectangle)
public Rectangle(Rectangle arg0)
Parameters
Rectangle(int, int)
public Rectangle(int arg0, int arg1)
Parameters
Rectangle(int, int, int, int)
public Rectangle(int arg0, int arg1, int arg2, int arg3)
Parameters
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
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { 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
Location
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Rectangle.html#getLocation() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Rectangle.html#setLocation(java.awt.Point)
public Point Location { get; set; }
Property Value
Size
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Rectangle.html#getSize() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Rectangle.html#setSize(java.awt.Dimension)
public Dimension Size { get; set; }
Property Value
height
public int height { get; set; }
Property Value
width
public int width { get; set; }
Property Value
x
public int x { get; set; }
Property Value
y
public int y { get; set; }
Property Value
Methods
Add(Point)
public void Add(Point arg0)
Parameters
Add(Rectangle)
public void Add(Rectangle arg0)
Parameters
Add(int, int)
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Rectangle.html#add(int,int)
public void Add(int arg0, int arg1)
Parameters
Contains(Point)
public bool Contains(Point arg0)
Parameters
Returns
Contains(Rectangle)
public bool Contains(Rectangle arg0)
Parameters
Returns
Contains(int, int)
public bool Contains(int arg0, int arg1)
Parameters
Returns
Contains(int, int, int, int)
public bool Contains(int arg0, int arg1, int arg2, int arg3)
Parameters
Returns
Grow(int, int)
public void Grow(int arg0, int arg1)
Parameters
Intersection(Rectangle)
public Rectangle Intersection(Rectangle arg0)
Parameters
Returns
Intersects(Rectangle)
public bool Intersects(Rectangle arg0)
Parameters
Returns
SetBounds(Rectangle)
public void SetBounds(Rectangle arg0)
Parameters
SetBounds(int, int, int, int)
public void SetBounds(int arg0, int arg1, int arg2, int arg3)
Parameters
SetLocation(int, int)
public void SetLocation(int arg0, int arg1)
Parameters
SetSize(int, int)
public void SetSize(int arg0, int arg1)
Parameters
Translate(int, int)
public void Translate(int arg0, int arg1)
Parameters
Union(Rectangle)
public Rectangle Union(Rectangle arg0)
Parameters
Returns
Operators
implicit operator Shape(Rectangle)
public static implicit operator Shape(Rectangle t)
Parameters
Returns
implicit operator Serializable(Rectangle)
Converter from Rectangle to Serializable
public static implicit operator Serializable(Rectangle t)