public class Int32Rect extends ValueType
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Int32Rect
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: WindowsBase, Version=11.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: WindowsBase
|
static java.lang.String |
className
Qualified class name: System.Windows.Int32Rect
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Int32Rect() |
Int32Rect(int x,
int y,
int width,
int height)
Initializes a new instance by invoking the .NET constructor.
|
Int32Rect(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Int32Rect |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Int32Rect, a cast assert is made to check if types are compatible. |
boolean |
Equals(Int32Rect value)
Invokes the .NET member Equals.
|
static boolean |
Equals(Int32Rect int32Rect1,
Int32Rect int32Rect2)
Invokes the .NET member Equals.
|
static Int32Rect |
getEmpty()
Gets the value of the .NET property Empty.
|
boolean |
getHasArea()
Gets the value of the .NET property HasArea.
|
int |
getHeight()
Gets the value of the .NET property Height.
|
boolean |
getIsEmpty()
Gets the value of the .NET property IsEmpty.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
int |
getWidth()
Gets the value of the .NET property Width.
|
int |
getX()
Gets the value of the .NET property X.
|
int |
getY()
Gets the value of the .NET property Y.
|
static Int32Rect |
Parse(java.lang.String source)
Invokes the .NET member Parse.
|
void |
setHeight(int Height)
Sets the value of the .NET property Height.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setWidth(int Width)
Sets the value of the .NET property Width.
|
void |
setX(int X)
Sets the value of the .NET property X.
|
void |
setY(int Y)
Sets the value of the .NET property Y.
|
java.lang.String |
ToString(IFormatProvider provider)
Invokes the .NET member ToString.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Int32Rect()
throws java.lang.Throwable
java.lang.Throwablepublic Int32Rect(int x,
int y,
int width,
int height)
throws java.lang.Throwable
x - the argument of type inty - the argument of type intwidth - the argument of type intheight - the argument of type intjava.lang.Throwable - if the .NET constructor failspublic Int32Rect(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static Int32Rect cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Int32Rect, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedInt32Rect instancejava.lang.Throwable - in case of error during cast operationpublic boolean Equals(Int32Rect value) throws java.lang.Throwable
value - the argument of type Int32Rectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static boolean Equals(Int32Rect int32Rect1, Int32Rect int32Rect2) throws java.lang.Throwable
int32Rect1 - the argument of type Int32Rectint32Rect2 - the argument of type Int32Rectjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Int32Rect getEmpty() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getHasArea()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getHeight()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsEmpty()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ValueTypepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ValueTypepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ValueTypenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ValueTypepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class ValueTypepublic int getWidth()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getX()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getY()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Int32Rect Parse(java.lang.String source) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, ObjectDisposedException, InvalidOperationException, FormatException, OverflowException
source - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itOverflowException - if the .NET member raises itpublic void setHeight(int Height)
throws java.lang.Throwable
Height - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class ValueTypeinstance - the new underlying objectpublic void setWidth(int Width)
throws java.lang.Throwable
Width - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setX(int X)
throws java.lang.Throwable
X - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setY(int Y)
throws java.lang.Throwable
Y - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String ToString(IFormatProvider provider) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, ArrayTypeMismatchException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, FormatException
provider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises it